Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001282/0.001282, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001373/0.001373, allocations: 190.5 kB / 22.23 MB, free: 5.105 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.316/1.316, allocations: 225.6 MB / 251 MB, free: 13.02 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.905/2.905, allocations: 0.4893 GB / 0.7884 GB, free: 33.05 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_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 64.3 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3384, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.189/0.5274, allocations: 169 MB / 1.481 GB, free: 24 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02219/0.5496, allocations: 17.38 MB / 1.498 GB, free: 14.59 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.551, allocations: 43.62 kB / 1.498 GB, free: 14.55 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.5524, allocations: 0.5701 MB / 1.499 GB, free: 13.97 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005505/0.5579, allocations: 1.656 MB / 1.5 GB, free: 12.31 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004111/0.562, allocations: 1.373 MB / 1.502 GB, free: 10.95 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003677/0.5657, allocations: 2.703 MB / 1.504 GB, free: 8.234 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/0.568, allocations: 1.532 MB / 1.506 GB, free: 6.641 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.5722, allocations: 1.424 MB / 1.507 GB, free: 5.262 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.5737, allocations: 0.9958 MB / 1.508 GB, free: 4.262 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.574, allocations: 208 kB / 1.508 GB, free: 4.059 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.5769, allocations: 1.482 MB / 1.51 GB, free: 2.574 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005568/0.5775, allocations: 0.5569 MB / 1.51 GB, free: 2.016 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.5786, allocations: 1.034 MB / 1.511 GB, free: 0.9766 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004329/0.5829, allocations: 3.133 MB / 1.514 GB, free: 13.83 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5829, allocations: 0 / 1.514 GB, free: 13.83 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5829, allocations: 0 / 1.514 GB, free: 13.83 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.553e-05/0.5829, allocations: 0 / 1.514 GB, free: 13.83 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004124/0.5871, allocations: 2.271 MB / 1.517 GB, free: 11.51 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5871, allocations: 8.031 kB / 1.517 GB, free: 11.5 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.5905, allocations: 0.5178 MB / 1.517 GB, free: 10.98 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.5926, allocations: 1.046 MB / 1.518 GB, free: 9.91 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.5927, allocations: 131.3 kB / 1.518 GB, free: 9.781 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.5929, allocations: 164 kB / 1.518 GB, free: 9.621 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/0.5963, allocations: 1.855 MB / 1.52 GB, free: 7.715 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.5963, allocations: 0 / 1.52 GB, free: 7.715 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.5965, allocations: 75.98 kB / 1.52 GB, free: 7.641 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/0.5965, allocations: 44 kB / 1.52 GB, free: 7.598 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/0.5999, allocations: 1.867 MB / 1.522 GB, free: 5.727 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008579/0.6085, allocations: 5.647 MB / 1.528 GB, free: 15.69 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.6115, allocations: 1.374 MB / 1.529 GB, free: 14.32 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.6126, allocations: 0.5928 MB / 1.53 GB, free: 13.71 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006002/0.6132, allocations: 141.2 kB / 1.53 GB, free: 13.57 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/0.6149, allocations: 0.888 MB / 1.531 GB, free: 12.67 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.116e-06/0.6149, allocations: 0 / 1.531 GB, free: 12.67 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.00619/0.6211, allocations: 2.176 MB / 1.533 GB, free: 10.47 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.6213, allocations: 205.2 kB / 1.533 GB, free: 10.23 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.6226, allocations: 0.8384 MB / 1.534 GB, free: 9.363 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.6227, allocations: 57.7 kB / 1.534 GB, free: 9.301 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006044/0.6233, allocations: 0.6499 MB / 1.534 GB, free: 8.641 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/0.6238, allocations: 0.5035 MB / 1.535 GB, free: 8.133 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000412/0.6242, allocations: 254.8 kB / 1.535 GB, free: 7.879 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.6244, allocations: 353.9 kB / 1.535 GB, free: 7.527 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.6255, allocations: 494.3 kB / 1.536 GB, free: 7.043 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.6267, allocations: 0.6384 MB / 1.537 GB, free: 6.379 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.629, allocations: 1.122 MB / 1.538 GB, free: 5.246 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.629, allocations: 0 / 1.538 GB, free: 5.246 MB / 1.232 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004062/0.6331, allocations: 1.55 MB / 1.539 GB, free: 3.672 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.6331, allocations: 12.09 kB / 1.539 GB, free: 3.66 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.6332, allocations: 0 / 1.539 GB, free: 3.66 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009781/0.6341, allocations: 192.1 kB / 1.539 GB, free: 3.457 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.6357, allocations: 339.5 kB / 1.54 GB, free: 3.125 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/0.6428, allocations: 6.781 MB / 1.546 GB, free: 11.77 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.6442, allocations: 159.1 kB / 1.546 GB, free: 11.61 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.6444, allocations: 59.95 kB / 1.547 GB, free: 11.55 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009845/0.6454, allocations: 375.3 kB / 1.547 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.6457, allocations: 139.2 kB / 1.547 GB, free: 11.04 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/0.65, allocations: 1.839 MB / 1.549 GB, free: 9.172 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.65, allocations: 16.05 kB / 1.549 GB, free: 9.156 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.65, allocations: 7.984 kB / 1.549 GB, free: 9.148 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.65, allocations: 7.969 kB / 1.549 GB, free: 9.141 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006727/0.6568, allocations: 3.408 MB / 1.552 GB, free: 5.664 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.6568, allocations: 0 / 1.552 GB, free: 5.664 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.6582, allocations: 319.5 kB / 1.552 GB, free: 5.352 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00074/0.6589, allocations: 176.2 kB / 1.553 GB, free: 5.164 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.659, allocations: 43.95 kB / 1.553 GB, free: 5.121 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006499/0.6655, allocations: 6.81 MB / 1.559 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6655, allocations: 4.125 kB / 1.559 GB, free: 13.72 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/0.6697, allocations: 1.709 MB / 1.561 GB, free: 11.98 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008433/0.6706, allocations: 326.5 kB / 1.561 GB, free: 11.66 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.6708, allocations: 28 kB / 1.561 GB, free: 11.63 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.6719, allocations: 105.6 kB / 1.561 GB, free: 11.53 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.6721, allocations: 117.1 kB / 1.562 GB, free: 11.41 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/0.6723, allocations: 67.95 kB / 1.562 GB, free: 11.34 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.000908/0.6732, allocations: 0.5784 MB / 1.562 GB, free: 10.75 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6732, allocations: 4 kB / 1.562 GB, free: 10.75 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001673/0.6749, allocations: 0.604 MB / 1.563 GB, free: 10.14 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002288/0.6772, allocations: 0.7401 MB / 1.564 GB, free: 9.59 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003546/0.6808, allocations: 1.813 MB / 1.565 GB, free: 7.715 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.6808, allocations: 8.656 kB / 1.565 GB, free: 7.707 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.6829, allocations: 1.246 MB / 1.567 GB, free: 6.395 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.6851, allocations: 0.5201 MB / 1.567 GB, free: 5.898 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.6908, allocations: 2.818 MB / 1.57 GB, free: 3.047 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.6918, allocations: 1.296 MB / 1.571 GB, free: 1.723 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001648/0.6935, allocations: 450.3 kB / 1.571 GB, free: 1.277 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.6939, allocations: 159.3 kB / 1.572 GB, free: 1.125 MB / 1.264 GB Notification: Performance of SimCode: time 9.32e-07/0.6939, allocations: 0 / 1.572 GB, free: 1.125 MB / 1.264 GB Notification: Performance of Templates: time 0.05135/0.7452, allocations: 28.94 MB / 1.6 GB, free: 4.508 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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: 10.084292369894683]