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.001505/0.001505, allocations: 110 kB / 18.94 MB, free: 2.789 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.001574/0.001574, allocations: 195.8 kB / 22.23 MB, free: 5.234 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.308/1.308, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.891/2.891, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001816/0.001816, allocations: 68.52 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3056, allocations: 174.9 MB / 1.316 GB, free: 9.68 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1978/0.5035, allocations: 177.4 MB / 1.489 GB, free: 7.586 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.5195, allocations: 11.13 MB / 1.5 GB, free: 12.43 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.5206, allocations: 43.62 kB / 1.5 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.5219, allocations: 428.6 kB / 1.501 GB, free: 11.96 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.5251, allocations: 1.123 MB / 1.502 GB, free: 10.84 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004111/0.5292, allocations: 1.783 MB / 1.503 GB, free: 9.059 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002955/0.5321, allocations: 2.388 MB / 1.506 GB, free: 6.664 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.5339, allocations: 1.112 MB / 1.507 GB, free: 5.508 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.5376, allocations: 1.474 MB / 1.508 GB, free: 4.047 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.5388, allocations: 0.813 MB / 1.509 GB, free: 3.23 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003219/0.5391, allocations: 160 kB / 1.509 GB, free: 3.074 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.5419, allocations: 1.478 MB / 1.511 GB, free: 1.594 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.5424, allocations: 454.6 kB / 1.511 GB, free: 1.148 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009994/0.5434, allocations: 0.7852 MB / 1.512 GB, free: 368 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003964/0.5474, allocations: 2.596 MB / 1.514 GB, free: 13.75 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.5474, allocations: 0 / 1.514 GB, free: 13.75 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5474, allocations: 0 / 1.514 GB, free: 13.75 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.5474, allocations: 4 kB / 1.514 GB, free: 13.75 MB / 1.217 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.003342/0.5508, allocations: 1.86 MB / 1.516 GB, free: 11.84 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5508, allocations: 12.03 kB / 1.516 GB, free: 11.83 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.5529, allocations: 358.7 kB / 1.517 GB, free: 11.48 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.5546, allocations: 0.9162 MB / 1.517 GB, free: 10.53 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.132e-05/0.5546, allocations: 86.33 kB / 1.518 GB, free: 10.45 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.5548, allocations: 124 kB / 1.518 GB, free: 10.32 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.5571, allocations: 1.298 MB / 1.519 GB, free: 8.961 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.5571, allocations: 3.938 kB / 1.519 GB, free: 8.957 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.5573, allocations: 48 kB / 1.519 GB, free: 8.91 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.5573, allocations: 28 kB / 1.519 GB, free: 8.883 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.5598, allocations: 1.457 MB / 1.52 GB, free: 7.418 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 preOpt removeSimpleEquations (simulation): time 0.006217/0.566, allocations: 4.015 MB / 1.524 GB, free: 3.188 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.5682, allocations: 1.073 MB / 1.525 GB, free: 2.113 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007931/0.569, allocations: 415.6 kB / 1.526 GB, free: 1.707 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/0.5697, allocations: 116.8 kB / 1.526 GB, free: 1.594 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/0.5709, allocations: 0.6644 MB / 1.527 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 2.755e-06/0.5709, allocations: 0 / 1.527 GB, free: 0.9102 MB / 1.217 GB Notification: Performance of matching and sorting (n=106): time 0.004169/0.5751, allocations: 1.535 MB / 1.528 GB, free: 15.37 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.5752, allocations: 196.9 kB / 1.528 GB, free: 15.13 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.5764, allocations: 0.8786 MB / 1.529 GB, free: 14.23 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/0.5765, allocations: 45.69 kB / 1.529 GB, free: 14.18 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.5769, allocations: 0.5285 MB / 1.53 GB, free: 13.64 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.5772, allocations: 368.8 kB / 1.53 GB, free: 13.28 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/0.5776, allocations: 210.9 kB / 1.53 GB, free: 13.07 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.5777, allocations: 353.9 kB / 1.531 GB, free: 12.71 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007591/0.5785, allocations: 382.4 kB / 1.531 GB, free: 12.34 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009232/0.5794, allocations: 0.5046 MB / 1.531 GB, free: 11.81 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.5811, allocations: 0.868 MB / 1.532 GB, free: 10.93 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5811, allocations: 3.938 kB / 1.532 GB, free: 10.92 MB / 1.232 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002592/0.5836, allocations: 1.165 MB / 1.533 GB, free: 9.746 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5837, allocations: 4 kB / 1.533 GB, free: 9.742 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5837, allocations: 4 kB / 1.533 GB, free: 9.738 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/0.5843, allocations: 84.86 kB / 1.533 GB, free: 9.652 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009797/0.5852, allocations: 231.7 kB / 1.534 GB, free: 9.426 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.5874, allocations: 1.546 MB / 1.535 GB, free: 7.762 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009529/0.5883, allocations: 131.3 kB / 1.535 GB, free: 7.633 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.994e-05/0.5884, allocations: 47.97 kB / 1.535 GB, free: 7.586 MB / 1.232 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.0005736/0.589, allocations: 335.4 kB / 1.536 GB, free: 7.25 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.5892, allocations: 127.2 kB / 1.536 GB, free: 7.125 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.5924, allocations: 1.505 MB / 1.537 GB, free: 5.598 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.5924, allocations: 15.94 kB / 1.537 GB, free: 5.582 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5924, allocations: 0 / 1.537 GB, free: 5.582 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.5924, allocations: 3.984 kB / 1.537 GB, free: 5.578 MB / 1.232 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.004964/0.5974, allocations: 2.735 MB / 1.54 GB, free: 2.758 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.5974, allocations: 4 kB / 1.54 GB, free: 2.754 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000911/0.5983, allocations: 203.9 kB / 1.54 GB, free: 2.555 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.5988, allocations: 72.8 kB / 1.54 GB, free: 2.48 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/0.5988, allocations: 35.97 kB / 1.54 GB, free: 2.445 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.6008, allocations: 1.578 MB / 1.542 GB, free: 0.75 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6008, allocations: 0 / 1.542 GB, free: 0.75 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/0.6044, allocations: 1.87 MB / 1.544 GB, free: 14.84 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006545/0.6051, allocations: 266.9 kB / 1.544 GB, free: 14.58 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.6053, allocations: 27.95 kB / 1.544 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008859/0.6061, allocations: 76.14 kB / 1.544 GB, free: 14.48 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.6063, allocations: 92.77 kB / 1.544 GB, free: 14.39 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.727e-05/0.6064, allocations: 55.97 kB / 1.544 GB, free: 14.34 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009068/0.6073, allocations: 0.6261 MB / 1.545 GB, free: 13.7 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6073, allocations: 0 / 1.545 GB, free: 13.7 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00117/0.6085, allocations: 470.9 kB / 1.545 GB, free: 13.24 MB / 1.248 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.002101/0.6106, allocations: 0.7067 MB / 1.546 GB, free: 12.71 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.6129, allocations: 1.058 MB / 1.547 GB, free: 11.64 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6129, allocations: 0 / 1.547 GB, free: 11.64 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.6141, allocations: 0.6255 MB / 1.548 GB, free: 11 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.6163, allocations: 0.5169 MB / 1.548 GB, free: 10.51 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.621, allocations: 2.426 MB / 1.55 GB, free: 8.027 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/0.6219, allocations: 1.154 MB / 1.552 GB, free: 6.844 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001232/0.6231, allocations: 369.7 kB / 1.552 GB, free: 6.48 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.6235, allocations: 139.4 kB / 1.552 GB, free: 6.344 MB / 1.248 GB Notification: Performance of SimCode: time 9.82e-07/0.6235, allocations: 0 / 1.552 GB, free: 6.344 MB / 1.248 GB Notification: Performance of Templates: time 0.04023/0.6637, allocations: 24.79 MB / 1.576 GB, free: 13.84 MB / 1.279 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 800] 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: 9.491749418899417]