Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001537/0.001537, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001672/0.001672, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 8.008 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.956/2.956, allocations: 0.49 GB / 0.7951 GB, free: 33.31 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: 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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [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.001927/0.001927, allocations: 69.5 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3136, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.188/0.5017, allocations: 172 MB / 1.494 GB, free: 4.848 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02218/0.5239, allocations: 17.46 MB / 1.511 GB, free: 3.328 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.5252, allocations: 43.62 kB / 1.511 GB, free: 3.285 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.5268, allocations: 0.5701 MB / 1.512 GB, free: 2.711 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004521/0.5313, allocations: 1.679 MB / 1.514 GB, free: 1.027 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.5346, allocations: 1.384 MB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003483/0.5381, allocations: 2.731 MB / 1.518 GB, free: 12.91 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/0.5405, allocations: 1.539 MB / 1.519 GB, free: 11.31 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.5448, allocations: 1.433 MB / 1.52 GB, free: 9.922 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.5465, allocations: 1.015 MB / 1.521 GB, free: 8.902 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005358/0.547, allocations: 212 kB / 1.522 GB, free: 8.695 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003101/0.5501, allocations: 1.513 MB / 1.523 GB, free: 7.18 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006656/0.5508, allocations: 0.5569 MB / 1.524 GB, free: 6.621 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.5522, allocations: 1.042 MB / 1.525 GB, free: 5.574 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005435/0.5576, allocations: 3.176 MB / 1.528 GB, free: 2.387 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5577, allocations: 4 kB / 1.528 GB, free: 2.383 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5577, allocations: 0 / 1.528 GB, free: 2.383 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.795e-05/0.5577, allocations: 0 / 1.528 GB, free: 2.383 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.004823/0.5626, allocations: 2.302 MB / 1.53 GB, free: 32 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5626, allocations: 8.031 kB / 1.53 GB, free: 24 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004195/0.5668, allocations: 0.5763 MB / 1.531 GB, free: 15.45 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.5688, allocations: 1.061 MB / 1.532 GB, free: 14.36 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.569, allocations: 123.4 kB / 1.532 GB, free: 14.23 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.5692, allocations: 168 kB / 1.532 GB, free: 14.07 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/0.5725, allocations: 1.839 MB / 1.534 GB, free: 12.18 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.5726, allocations: 7.938 kB / 1.534 GB, free: 12.17 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.5727, allocations: 76 kB / 1.534 GB, free: 12.1 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.5728, allocations: 40 kB / 1.534 GB, free: 12.06 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003302/0.5761, allocations: 1.875 MB / 1.536 GB, free: 10.18 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008381/0.5844, allocations: 5.643 MB / 1.541 GB, free: 4.145 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/0.5873, allocations: 1.38 MB / 1.543 GB, free: 2.766 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.5884, allocations: 0.589 MB / 1.543 GB, free: 2.168 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.5894, allocations: 189.1 kB / 1.543 GB, free: 1.984 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.591, allocations: 0.8938 MB / 1.544 GB, free: 1.074 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 2.595e-06/0.591, allocations: 0 / 1.544 GB, free: 1.074 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.005744/0.5967, allocations: 2.176 MB / 1.546 GB, free: 14.88 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.5969, allocations: 205.2 kB / 1.546 GB, free: 14.63 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.5981, allocations: 0.8591 MB / 1.547 GB, free: 13.75 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.5982, allocations: 57.7 kB / 1.547 GB, free: 13.69 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005909/0.5988, allocations: 0.6617 MB / 1.548 GB, free: 13.02 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.5992, allocations: 0.4996 MB / 1.549 GB, free: 12.51 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.5996, allocations: 254.8 kB / 1.549 GB, free: 12.26 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5998, allocations: 357.9 kB / 1.549 GB, free: 11.9 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.6008, allocations: 490.3 kB / 1.55 GB, free: 11.42 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.602, allocations: 0.6385 MB / 1.55 GB, free: 10.76 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.6041, allocations: 1.122 MB / 1.551 GB, free: 9.625 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6041, allocations: 0 / 1.551 GB, free: 9.625 MB / 1.248 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00352/0.6077, allocations: 1.554 MB / 1.553 GB, free: 8.047 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.6077, allocations: 8.188 kB / 1.553 GB, free: 8.039 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6077, allocations: 7.938 kB / 1.553 GB, free: 8.031 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009123/0.6086, allocations: 188.1 kB / 1.553 GB, free: 7.832 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.6101, allocations: 339.5 kB / 1.553 GB, free: 7.5 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/0.6161, allocations: 6.783 MB / 1.56 GB, free: 144 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.6174, allocations: 156.9 kB / 1.56 GB, free: 15.98 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.6175, allocations: 55.95 kB / 1.56 GB, free: 15.93 MB / 1.264 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.000781/0.6183, allocations: 379.5 kB / 1.561 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/0.6186, allocations: 143.1 kB / 1.561 GB, free: 15.41 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.6227, allocations: 1.839 MB / 1.562 GB, free: 13.54 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.6227, allocations: 16 kB / 1.562 GB, free: 13.53 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6227, allocations: 4 kB / 1.562 GB, free: 13.52 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.6227, allocations: 11.91 kB / 1.562 GB, free: 13.51 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006242/0.629, allocations: 3.428 MB / 1.566 GB, free: 10.02 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.629, allocations: 0 / 1.566 GB, free: 10.02 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.6304, allocations: 319.6 kB / 1.566 GB, free: 9.707 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007414/0.6311, allocations: 180.1 kB / 1.566 GB, free: 9.516 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.6312, allocations: 43.95 kB / 1.566 GB, free: 9.473 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005813/0.637, allocations: 6.806 MB / 1.573 GB, free: 2.082 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.637, allocations: 0 / 1.573 GB, free: 2.082 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.6407, allocations: 1.721 MB / 1.575 GB, free: 332 kB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007902/0.6415, allocations: 326.6 kB / 1.575 GB, free: 4 kB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.6417, allocations: 36.06 kB / 1.575 GB, free: 15.96 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.6429, allocations: 93.78 kB / 1.575 GB, free: 15.88 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.6431, allocations: 121.1 kB / 1.575 GB, free: 15.75 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.6433, allocations: 71.95 kB / 1.575 GB, free: 15.68 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008553/0.6441, allocations: 0.5984 MB / 1.576 GB, free: 15.07 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6441, allocations: 0 / 1.576 GB, free: 15.07 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00148/0.6456, allocations: 0.6155 MB / 1.576 GB, free: 14.46 MB / 1.279 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.002162/0.6478, allocations: 0.7326 MB / 1.577 GB, free: 13.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003188/0.6509, allocations: 1.817 MB / 1.579 GB, free: 12.02 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.651, allocations: 0.6562 kB / 1.579 GB, free: 12.02 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.6528, allocations: 1.247 MB / 1.58 GB, free: 10.71 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.6548, allocations: 0.5165 MB / 1.581 GB, free: 10.21 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.66, allocations: 2.841 MB / 1.583 GB, free: 7.34 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.661, allocations: 1.304 MB / 1.585 GB, free: 6.008 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001526/0.6625, allocations: 442.4 kB / 1.585 GB, free: 5.57 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.663, allocations: 163.3 kB / 1.585 GB, free: 5.414 MB / 1.279 GB Notification: Performance of SimCode: time 8.72e-07/0.663, allocations: 0 / 1.585 GB, free: 5.414 MB / 1.279 GB Notification: Performance of Templates: time 0.6223/1.285, allocations: 29.19 MB / 1.614 GB, free: 271.5 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.135041562374681]