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.001218/0.001218, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001345/0.001345, allocations: 216.8 kB / 22.25 MB, free: 5.105 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.37/1.37, 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.991/2.991, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.002011/0.002011, allocations: 69.89 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3216, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1882/0.5098, allocations: 155.8 MB / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.5257, allocations: 10.31 MB / 1.488 GB, free: 10.78 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.5268, allocations: 39.69 kB / 1.488 GB, free: 10.74 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.5281, allocations: 428.6 kB / 1.489 GB, free: 10.32 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.5314, allocations: 1.132 MB / 1.49 GB, free: 9.188 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004383/0.5357, allocations: 1.744 MB / 1.491 GB, free: 7.449 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003073/0.5388, allocations: 2.412 MB / 1.494 GB, free: 5.031 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.5407, allocations: 1.124 MB / 1.495 GB, free: 3.863 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.5445, allocations: 1.48 MB / 1.496 GB, free: 2.395 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.5459, allocations: 0.8324 MB / 1.497 GB, free: 1.559 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004104/0.5463, allocations: 156 kB / 1.497 GB, free: 1.406 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.5492, allocations: 1.291 MB / 1.498 GB, free: 116 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005961/0.5498, allocations: 454.6 kB / 1.499 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.551, allocations: 0.6493 MB / 1.5 GB, free: 15.02 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004641/0.5556, allocations: 2.627 MB / 1.502 GB, free: 12.38 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5556, allocations: 7.938 kB / 1.502 GB, free: 12.37 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5556, allocations: 0 / 1.502 GB, free: 12.37 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.657e-05/0.5557, allocations: 0 / 1.502 GB, free: 12.37 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.004032/0.5597, allocations: 1.895 MB / 1.504 GB, free: 10.43 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5598, allocations: 8.031 kB / 1.504 GB, free: 10.42 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002689/0.56, allocations: 173.4 kB / 1.504 GB, free: 10.24 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.5627, allocations: 402.7 kB / 1.505 GB, free: 9.848 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.5646, allocations: 0.924 MB / 1.505 GB, free: 8.891 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/0.5647, allocations: 94.33 kB / 1.506 GB, free: 8.797 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.5649, allocations: 112 kB / 1.506 GB, free: 8.688 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.5674, allocations: 1.687 MB / 1.507 GB, free: 6.844 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.5675, allocations: 0 / 1.507 GB, free: 6.844 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.5676, allocations: 48 kB / 1.507 GB, free: 6.797 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.5676, allocations: 28 kB / 1.507 GB, free: 6.77 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.5701, allocations: 1.41 MB / 1.509 GB, free: 5.352 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.006136/0.5762, allocations: 3.142 MB / 1.512 GB, free: 2.137 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.5784, allocations: 1.083 MB / 1.513 GB, free: 1.039 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.5792, allocations: 414.2 kB / 1.513 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/0.5798, allocations: 117.1 kB / 1.513 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.5811, allocations: 0.8904 MB / 1.514 GB, free: 15.55 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 3.396e-06/0.5811, allocations: 4 kB / 1.514 GB, free: 15.55 MB / 1.217 GB Notification: Performance of matching and sorting (n=106): time 0.003999/0.5851, allocations: 1.535 MB / 1.516 GB, free: 14.01 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.5852, allocations: 196.9 kB / 1.516 GB, free: 13.77 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.5866, allocations: 0.9073 MB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.5867, allocations: 45.7 kB / 1.517 GB, free: 12.79 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/0.5872, allocations: 0.5363 MB / 1.517 GB, free: 12.25 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.5875, allocations: 372.8 kB / 1.518 GB, free: 11.88 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.5878, allocations: 186.6 kB / 1.518 GB, free: 11.7 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.588, allocations: 349.9 kB / 1.518 GB, free: 11.35 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/0.5887, allocations: 361.8 kB / 1.519 GB, free: 11 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009759/0.5897, allocations: 0.6728 MB / 1.519 GB, free: 10.24 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.5912, allocations: 0.8484 MB / 1.52 GB, free: 9.379 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5912, allocations: 3.938 kB / 1.52 GB, free: 9.375 MB / 1.217 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00253/0.5938, allocations: 1.126 MB / 1.521 GB, free: 8.234 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5938, allocations: 4 kB / 1.521 GB, free: 8.23 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5938, allocations: 4.094 kB / 1.521 GB, free: 8.227 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005577/0.5944, allocations: 84.77 kB / 1.521 GB, free: 8.141 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009577/0.5953, allocations: 223.7 kB / 1.521 GB, free: 7.922 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.5974, allocations: 1.537 MB / 1.523 GB, free: 6.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.5983, allocations: 123.2 kB / 1.523 GB, free: 6.148 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.5984, allocations: 43.97 kB / 1.523 GB, free: 6.105 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.0005748/0.599, allocations: 329.6 kB / 1.523 GB, free: 5.773 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.5993, allocations: 123.2 kB / 1.524 GB, free: 5.652 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/0.6023, allocations: 1.506 MB / 1.525 GB, free: 4.125 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6023, allocations: 12 kB / 1.525 GB, free: 4.113 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6023, allocations: 0 / 1.525 GB, free: 4.113 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.6023, allocations: 11.91 kB / 1.525 GB, free: 4.102 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.00488/0.6072, allocations: 2.526 MB / 1.528 GB, free: 1.508 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6072, allocations: 0 / 1.528 GB, free: 1.508 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008729/0.6081, allocations: 195.8 kB / 1.528 GB, free: 1.316 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/0.6085, allocations: 80.91 kB / 1.528 GB, free: 1.234 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-05/0.6086, allocations: 35.98 kB / 1.528 GB, free: 1.199 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.6105, allocations: 1.57 MB / 1.529 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6105, allocations: 0 / 1.529 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/0.614, allocations: 1.878 MB / 1.531 GB, free: 13.6 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006411/0.6147, allocations: 270.8 kB / 1.531 GB, free: 13.33 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.6149, allocations: 27.98 kB / 1.531 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/0.6157, allocations: 78.53 kB / 1.532 GB, free: 13.23 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.6159, allocations: 92.78 kB / 1.532 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.509e-05/0.616, allocations: 51.89 kB / 1.532 GB, free: 13.09 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009102/0.6169, allocations: 0.6501 MB / 1.532 GB, free: 12.43 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6169, allocations: 0 / 1.532 GB, free: 12.43 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001196/0.6181, allocations: 458.9 kB / 1.533 GB, free: 11.98 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.00603/0.6241, allocations: 3.049 MB / 1.536 GB, free: 9.086 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.6264, allocations: 1.023 MB / 1.537 GB, free: 8.051 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.6264, allocations: 0 / 1.537 GB, free: 8.051 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.6276, allocations: 0.6327 MB / 1.537 GB, free: 7.406 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.6299, allocations: 0.5274 MB / 1.538 GB, free: 6.902 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.6456, allocations: 8.884 MB / 1.547 GB, free: 13.82 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.6463, allocations: 0.5831 MB / 1.547 GB, free: 13.2 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001257/0.6476, allocations: 373.8 kB / 1.547 GB, free: 12.84 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008106/0.6484, allocations: 0.5344 MB / 1.548 GB, free: 12.3 MB / 1.248 GB Notification: Performance of SimCode: time 1.102e-06/0.6484, allocations: 3.938 kB / 1.548 GB, free: 12.3 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08324/0.7316, allocations: 36.52 MB / 1.584 GB, free: 8.285 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.04, allocations: 4 kB / 1.584 GB, free: 8.281 MB / 1.279 GB " [Timeout remaining time 286] (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.236173362995032]