Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 111.2 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 186 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 496.2 MB / 0.7819 GB, free: 12.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 71.88 kB / 1.136 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332/1.334, allocations: 173.6 MB / 1.305 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2537/1.588, allocations: 177.4 MB / 1.479 GB, free: 3.762 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01908/1.607, allocations: 11.08 MB / 1.489 GB, free: 8.652 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/1.609, allocations: 31.81 kB / 1.49 GB, free: 8.621 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/1.611, allocations: 428.6 kB / 1.49 GB, free: 8.199 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004462/1.615, allocations: 1.119 MB / 1.491 GB, free: 7.078 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005242/1.62, allocations: 1.743 MB / 1.493 GB, free: 5.34 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00395/1.624, allocations: 2.373 MB / 1.495 GB, free: 2.957 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/1.626, allocations: 1.119 MB / 1.496 GB, free: 1.797 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0046/1.631, allocations: 1.445 MB / 1.498 GB, free: 372 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/1.632, allocations: 0.8169 MB / 1.498 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/1.632, allocations: 156 kB / 1.498 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/1.636, allocations: 1.458 MB / 1.5 GB, free: 13.93 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004765/1.636, allocations: 458.5 kB / 1.5 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009695/1.637, allocations: 0.7775 MB / 1.501 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004489/1.642, allocations: 2.599 MB / 1.504 GB, free: 10.09 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.642, allocations: 0 / 1.504 GB, free: 10.09 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.884e-06/1.642, allocations: 0 / 1.504 GB, free: 10.09 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.179e-05/1.642, allocations: 0 / 1.504 GB, free: 10.09 MB / 1.186 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.003687/1.645, allocations: 1.935 MB / 1.506 GB, free: 8.094 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.645, allocations: 15.97 kB / 1.506 GB, free: 8.078 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/1.648, allocations: 362.7 kB / 1.506 GB, free: 7.723 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/1.649, allocations: 0.9846 MB / 1.507 GB, free: 6.695 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.922e-05/1.649, allocations: 90.27 kB / 1.507 GB, free: 6.605 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/1.65, allocations: 116 kB / 1.507 GB, free: 6.492 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/1.652, allocations: 1.298 MB / 1.508 GB, free: 5.129 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/1.652, allocations: 0 / 1.508 GB, free: 5.129 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/1.652, allocations: 52 kB / 1.508 GB, free: 5.078 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/1.652, allocations: 28 kB / 1.508 GB, free: 5.051 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/1.655, allocations: 1.453 MB / 1.51 GB, free: 3.59 MB / 1.186 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.007164/1.662, allocations: 4.097 MB / 1.514 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/1.664, allocations: 1.149 MB / 1.515 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/1.665, allocations: 416.6 kB / 1.515 GB, free: 13.7 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008915/1.666, allocations: 433.2 kB / 1.516 GB, free: 13.2 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/1.667, allocations: 0.6567 MB / 1.516 GB, free: 12.52 MB / 1.201 GB Notification: Performance of pre-optimization done (n=106): time 3.216e-06/1.667, allocations: 4 kB / 1.516 GB, free: 12.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=106): time 0.004298/1.671, allocations: 1.607 MB / 1.518 GB, free: 10.89 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/1.671, allocations: 196.9 kB / 1.518 GB, free: 10.65 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/1.673, allocations: 0.8786 MB / 1.519 GB, free: 9.75 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.673, allocations: 45.7 kB / 1.519 GB, free: 9.699 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/1.673, allocations: 0.5169 MB / 1.52 GB, free: 9.176 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/1.674, allocations: 388.7 kB / 1.52 GB, free: 8.793 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/1.674, allocations: 218.8 kB / 1.52 GB, free: 8.57 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.674, allocations: 345.9 kB / 1.52 GB, free: 8.227 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/1.675, allocations: 382.4 kB / 1.521 GB, free: 7.855 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009118/1.676, allocations: 0.5085 MB / 1.521 GB, free: 7.32 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/1.678, allocations: 0.8719 MB / 1.522 GB, free: 6.43 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.678, allocations: 0 / 1.522 GB, free: 6.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002813/1.68, allocations: 1.169 MB / 1.523 GB, free: 5.25 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/1.68, allocations: 4.125 kB / 1.523 GB, free: 5.246 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.681, allocations: 8 kB / 1.523 GB, free: 5.238 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/1.681, allocations: 80.77 kB / 1.523 GB, free: 5.156 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.682, allocations: 239.6 kB / 1.524 GB, free: 4.922 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/1.685, allocations: 1.642 MB / 1.525 GB, free: 3.137 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.686, allocations: 131.2 kB / 1.525 GB, free: 3.008 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.686, allocations: 47.97 kB / 1.525 GB, free: 2.961 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (128): * Single equations (assignments): 127 * 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.0006843/1.686, allocations: 331.5 kB / 1.526 GB, free: 2.625 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.687, allocations: 123.2 kB / 1.526 GB, free: 2.504 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/1.69, allocations: 1.494 MB / 1.527 GB, free: 0.9883 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/1.69, allocations: 15.98 kB / 1.527 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.69, allocations: 0 / 1.527 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.69, allocations: 7.984 kB / 1.527 GB, free: 0.9648 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 postOpt removeSimpleEquations (simulation): time 0.00512/1.695, allocations: 2.835 MB / 1.53 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.695, allocations: 4.031 kB / 1.53 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/1.696, allocations: 199.8 kB / 1.53 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004461/1.696, allocations: 72.78 kB / 1.53 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.881e-05/1.696, allocations: 31.98 kB / 1.53 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/1.699, allocations: 1.682 MB / 1.532 GB, free: 11.89 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.699, allocations: 3.984 kB / 1.532 GB, free: 11.89 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/1.702, allocations: 1.886 MB / 1.534 GB, free: 9.965 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/1.703, allocations: 344 kB / 1.534 GB, free: 9.609 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.703, allocations: 24 kB / 1.534 GB, free: 9.586 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008569/1.704, allocations: 75.02 kB / 1.534 GB, free: 9.516 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/1.704, allocations: 100.8 kB / 1.534 GB, free: 9.414 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.734e-05/1.704, allocations: 43.97 kB / 1.534 GB, free: 9.371 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009858/1.705, allocations: 0.6261 MB / 1.535 GB, free: 8.734 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.705, allocations: 0 / 1.535 GB, free: 8.734 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00142/1.707, allocations: 470.9 kB / 1.536 GB, free: 8.273 MB / 1.217 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.002356/1.709, allocations: 0.7006 MB / 1.536 GB, free: 7.75 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002379/1.712, allocations: 1.05 MB / 1.537 GB, free: 6.691 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.712, allocations: 0 / 1.537 GB, free: 6.691 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/1.713, allocations: 0.6255 MB / 1.538 GB, free: 6.055 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.715, allocations: 0.5403 MB / 1.538 GB, free: 5.539 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/1.72, allocations: 2.426 MB / 1.541 GB, free: 3.055 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/1.721, allocations: 1.162 MB / 1.542 GB, free: 1.863 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001297/1.722, allocations: 369.6 kB / 1.542 GB, free: 1.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/1.722, allocations: 131.4 kB / 1.542 GB, free: 1.371 MB / 1.217 GB Notification: Performance of SimCode: time 1.483e-06/1.722, allocations: 4 kB / 1.542 GB, free: 1.367 MB / 1.217 GB Notification: Performance of Templates: time 0.04464/1.767, allocations: 24.48 MB / 1.566 GB, free: 9.176 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.84374556131661]