Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.001272/0.001272, 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.001423/0.001423, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.36/1.36, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.946/2.946, allocations: 0.4892 GB / 0.7943 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",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.002003/0.002003, allocations: 73.17 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1826/0.4943, allocations: 155.8 MB / 1.477 GB, free: 5.941 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01634/0.5106, allocations: 10.3 MB / 1.487 GB, free: 11.61 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.5122, allocations: 43.62 kB / 1.487 GB, free: 11.56 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.5136, allocations: 428.7 kB / 1.488 GB, free: 11.14 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.5168, allocations: 1.119 MB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004127/0.5209, allocations: 1.752 MB / 1.491 GB, free: 8.273 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002838/0.5238, allocations: 2.4 MB / 1.493 GB, free: 5.867 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.5253, allocations: 1.112 MB / 1.494 GB, free: 4.711 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.5288, allocations: 1.476 MB / 1.495 GB, free: 3.25 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.5298, allocations: 0.7505 MB / 1.496 GB, free: 2.496 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002306/0.5301, allocations: 163.9 kB / 1.496 GB, free: 2.336 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.5325, allocations: 1.263 MB / 1.498 GB, free: 1.07 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.5329, allocations: 466.5 kB / 1.498 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007094/0.5336, allocations: 0.6455 MB / 1.499 GB, free: 15.96 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003563/0.5372, allocations: 2.623 MB / 1.501 GB, free: 13.33 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5372, allocations: 7.984 kB / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5372, allocations: 0 / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.637e-05/0.5372, allocations: 0 / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003341/0.5405, allocations: 1.891 MB / 1.503 GB, free: 11.39 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5406, allocations: 8.031 kB / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/0.5408, allocations: 181.4 kB / 1.503 GB, free: 11.19 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/0.5434, allocations: 398.7 kB / 1.504 GB, free: 10.8 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.5451, allocations: 0.9279 MB / 1.505 GB, free: 9.84 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-05/0.5452, allocations: 90.31 kB / 1.505 GB, free: 9.75 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.5454, allocations: 116 kB / 1.505 GB, free: 9.637 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.5478, allocations: 1.671 MB / 1.506 GB, free: 7.809 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.5478, allocations: 0 / 1.506 GB, free: 7.809 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.5479, allocations: 51.98 kB / 1.506 GB, free: 7.758 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.5479, allocations: 32 kB / 1.506 GB, free: 7.727 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.5503, allocations: 1.402 MB / 1.508 GB, free: 6.316 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005947/0.5563, allocations: 3.15 MB / 1.511 GB, free: 3.094 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.5584, allocations: 1.087 MB / 1.512 GB, free: 1.992 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/0.5592, allocations: 407.6 kB / 1.512 GB, free: 1.594 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/0.5598, allocations: 121.1 kB / 1.512 GB, free: 1.477 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.5611, allocations: 0.8826 MB / 1.513 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of pre-optimization done (n=106): time 2.955e-06/0.5611, allocations: 0 / 1.513 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of matching and sorting (n=106): time 0.004134/0.5653, allocations: 1.543 MB / 1.515 GB, free: 14.96 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.5654, allocations: 188.9 kB / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.5667, allocations: 0.9151 MB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.5668, allocations: 49.7 kB / 1.516 GB, free: 13.74 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/0.5673, allocations: 0.5324 MB / 1.516 GB, free: 13.21 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/0.5677, allocations: 372.8 kB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.568, allocations: 194.6 kB / 1.517 GB, free: 12.64 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5682, allocations: 345.9 kB / 1.517 GB, free: 12.3 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/0.5689, allocations: 357.8 kB / 1.518 GB, free: 11.95 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009947/0.5699, allocations: 0.6767 MB / 1.518 GB, free: 11.2 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.5716, allocations: 0.8485 MB / 1.519 GB, free: 10.33 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5716, allocations: 0 / 1.519 GB, free: 10.33 MB / 1.217 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002633/0.5742, allocations: 1.122 MB / 1.52 GB, free: 9.195 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5742, allocations: 8 kB / 1.52 GB, free: 9.188 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5742, allocations: 0 / 1.52 GB, free: 9.188 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/0.5748, allocations: 84.8 kB / 1.52 GB, free: 9.102 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009304/0.5757, allocations: 227.7 kB / 1.521 GB, free: 8.879 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.5779, allocations: 1.531 MB / 1.522 GB, free: 7.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009432/0.5788, allocations: 127.3 kB / 1.522 GB, free: 7.105 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/0.5789, allocations: 39.98 kB / 1.522 GB, free: 7.066 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006033/0.5795, allocations: 329 kB / 1.523 GB, free: 6.738 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.5797, allocations: 127.2 kB / 1.523 GB, free: 6.613 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.5828, allocations: 1.517 MB / 1.524 GB, free: 5.074 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5828, allocations: 8 kB / 1.524 GB, free: 5.066 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5828, allocations: 7.938 kB / 1.524 GB, free: 5.059 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.5828, allocations: 11.86 kB / 1.524 GB, free: 5.047 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.5877, allocations: 2.515 MB / 1.527 GB, free: 2.465 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5877, allocations: 4 kB / 1.527 GB, free: 2.461 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/0.5886, allocations: 199.7 kB / 1.527 GB, free: 2.266 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/0.589, allocations: 72.78 kB / 1.527 GB, free: 2.191 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/0.5891, allocations: 40 kB / 1.527 GB, free: 2.152 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.5911, allocations: 1.566 MB / 1.528 GB, free: 480 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5911, allocations: 0 / 1.528 GB, free: 480 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/0.5948, allocations: 1.874 MB / 1.53 GB, free: 14.55 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006996/0.5955, allocations: 274.8 kB / 1.531 GB, free: 14.29 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.5957, allocations: 28.06 kB / 1.531 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008493/0.5965, allocations: 79.92 kB / 1.531 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.5967, allocations: 96.7 kB / 1.531 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/0.5968, allocations: 47.97 kB / 1.531 GB, free: 14.04 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009377/0.5977, allocations: 0.6423 MB / 1.531 GB, free: 13.39 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5977, allocations: 0 / 1.531 GB, free: 13.39 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001157/0.5989, allocations: 466.9 kB / 1.532 GB, free: 12.93 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005969/0.6049, allocations: 3.059 MB / 1.535 GB, free: 10.04 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002176/0.607, allocations: 1.022 MB / 1.536 GB, free: 9 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.607, allocations: 4 kB / 1.536 GB, free: 8.996 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.6082, allocations: 0.6296 MB / 1.536 GB, free: 8.355 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.6105, allocations: 0.5219 MB / 1.537 GB, free: 7.852 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.625, allocations: 8.881 MB / 1.546 GB, free: 14.78 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.6257, allocations: 0.5754 MB / 1.546 GB, free: 14.16 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001215/0.6269, allocations: 365.8 kB / 1.547 GB, free: 13.8 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007608/0.6276, allocations: 0.5383 MB / 1.547 GB, free: 13.27 MB / 1.248 GB Notification: Performance of SimCode: time 8.32e-07/0.6276, allocations: 4 kB / 1.547 GB, free: 13.26 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08423/0.7119, allocations: 36.22 MB / 1.582 GB, free: 9.57 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.51, allocations: 14.39 kB / 1.582 GB, free: 9.559 MB / 1.279 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_12_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,senTem.T,senMasFra.X,senRelHum.phi Variables in the result:time,senMasFra.X,senRelHum.phi,senTem.T [Calling sys.exit(0), Time elapsed: 22.677268558647484]