Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 209.4 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.924/2.924, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 66.53 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3438, allocations: 169.9 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.004259/0.3481, allocations: 1.884 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005412/0.3535, allocations: 3.319 MB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.3537, allocations: 7.938 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.354, allocations: 47.64 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006339/0.3546, allocations: 123.2 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.3549, allocations: 55.86 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.3553, allocations: 179.2 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3554, allocations: 21.8 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.3557, allocations: 91.62 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.3559, allocations: 79.61 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.3559, allocations: 8 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3561, allocations: 35.92 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.3561, allocations: 31.84 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.3563, allocations: 63.61 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.3566, allocations: 179 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3566, allocations: 0 / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3566, allocations: 0 / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.3566, allocations: 8 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001044/0.3577, allocations: 445.1 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.3577, allocations: 12.03 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.525e-05/0.3578, allocations: 42.67 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/0.3582, allocations: 56.75 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.3587, allocations: 201.1 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3587, allocations: 4.375 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.3588, allocations: 8.359 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.3592, allocations: 135.9 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3592, allocations: 3.938 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.3592, allocations: 4 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.3592, allocations: 12 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.3597, allocations: 135.9 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/0.3605, allocations: 395.7 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.3609, allocations: 156.8 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.3612, allocations: 88.8 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.3612, allocations: 0 / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.3614, allocations: 38.56 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3614, allocations: 0 / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008445/0.3622, allocations: 285.5 kB / 1.29 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.3622, allocations: 51.41 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.3625, allocations: 221 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3625, allocations: 29.7 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.3626, allocations: 128.1 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.3627, allocations: 43.58 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.3627, allocations: 33.7 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3629, allocations: 334.8 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.3632, allocations: 71.94 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.3634, allocations: 67.94 kB / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.3638, allocations: 166 kB / 1.292 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3638, allocations: 0 / 1.292 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005568/0.3644, allocations: 210.9 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3644, allocations: 8 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3644, allocations: 0 / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3644, allocations: 0 / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.3647, allocations: 35.95 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3647, allocations: 0 / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3648, allocations: 15.98 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.3649, allocations: 11.88 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.3651, allocations: 129.8 kB / 1.292 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.3651, allocations: 23.86 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.998e-05/0.3652, allocations: 29.75 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3652, allocations: 0 / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3652, allocations: 0 / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3652, allocations: 4 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.3655, allocations: 228.4 kB / 1.292 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3655, allocations: 4 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.3658, allocations: 35.95 kB / 1.292 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3658, allocations: 4 kB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3658, allocations: 0 / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3658, allocations: 0 / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3658, allocations: 3.938 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.3665, allocations: 307.3 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.219e-05/0.3666, allocations: 31.83 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.3667, allocations: 12 kB / 1.293 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3669, allocations: 11.98 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.3669, allocations: 15.97 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.3669, allocations: 0 / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001611/0.3671, allocations: 164.4 kB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3671, allocations: 0 / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002901/0.3674, allocations: 39.94 kB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.3684, allocations: 0.8476 MB / 1.294 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000522/0.3689, allocations: 163.8 kB / 1.294 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3689, allocations: 4 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.3692, allocations: 87.92 kB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.3695, allocations: 24.42 kB / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.3732, allocations: 2.306 MB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3733, allocations: 112 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001786/0.3735, allocations: 57.02 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3736, allocations: 55.41 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3736, allocations: 0 / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.4107, allocations: 4.463 MB / 1.301 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.64, allocations: 6.516 kB / 1.301 GB, free: 9.629 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable T1.y in file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.643186221364886]