Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009473/0.0009473, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00776/0.00776, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003994, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6616/0.6621, allocations: 142.4 MB / 0.955 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1763/0.8384, allocations: 162.5 MB / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.8593, allocations: 16.72 MB / 1.13 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.8606, allocations: 27.81 kB / 1.13 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.8624, allocations: 433.3 kB / 1.131 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.867, allocations: 1.358 MB / 1.132 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.8704, allocations: 1.164 MB / 1.133 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003214/0.8736, allocations: 2.646 MB / 1.136 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/0.8758, allocations: 1.663 MB / 1.137 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004917/0.8808, allocations: 0.9999 MB / 1.138 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.8818, allocations: 0.7317 MB / 1.139 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.882, allocations: 40 kB / 1.139 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002722/0.8847, allocations: 1.403 MB / 1.14 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.8851, allocations: 374.2 kB / 1.141 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000805/0.8859, allocations: 0.786 MB / 1.141 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00338/0.8893, allocations: 2.865 MB / 1.144 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8893, allocations: 0 / 1.144 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8893, allocations: 0 / 1.144 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.241e-05/0.8893, allocations: 4 kB / 1.144 GB, free: 12.95 MB / 0.9044 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.003291/0.8926, allocations: 1.859 MB / 1.146 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.8927, allocations: 8.031 kB / 1.146 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/0.8962, allocations: 0.5127 MB / 1.147 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.8978, allocations: 1.082 MB / 1.148 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/0.8979, allocations: 139.4 kB / 1.148 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.8982, allocations: 164 kB / 1.148 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.9014, allocations: 1.851 MB / 1.15 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.9015, allocations: 0 / 1.15 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.9016, allocations: 72 kB / 1.15 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.9017, allocations: 44 kB / 1.15 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003262/0.9049, allocations: 1.886 MB / 1.152 GB, free: 5.176 MB / 0.9044 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.008543/0.9135, allocations: 5.191 MB / 1.157 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.9167, allocations: 1.776 MB / 1.158 GB, free: 13.89 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.9179, allocations: 0.6592 MB / 1.159 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009271/0.9189, allocations: 0.8195 MB / 1.16 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/0.9206, allocations: 0.8941 MB / 1.161 GB, free: 11.33 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.717e-06/0.9206, allocations: 0 / 1.161 GB, free: 11.33 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006374/0.927, allocations: 2.572 MB / 1.163 GB, free: 8.645 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.9271, allocations: 209.2 kB / 1.164 GB, free: 8.398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.9282, allocations: 0.8344 MB / 1.164 GB, free: 7.539 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.9284, allocations: 57.7 kB / 1.164 GB, free: 7.477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.9289, allocations: 0.6446 MB / 1.165 GB, free: 6.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003894/0.9293, allocations: 485 kB / 1.165 GB, free: 6.34 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.9295, allocations: 105.7 kB / 1.166 GB, free: 6.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.9297, allocations: 357.9 kB / 1.166 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.9307, allocations: 0.4906 MB / 1.166 GB, free: 5.383 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.9319, allocations: 0.6423 MB / 1.167 GB, free: 4.711 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.9342, allocations: 1.126 MB / 1.168 GB, free: 3.578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9343, allocations: 4 kB / 1.168 GB, free: 3.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003619/0.9379, allocations: 1.558 MB / 1.17 GB, free: 1.992 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.9379, allocations: 10.03 kB / 1.17 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.938, allocations: 0 / 1.17 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009369/0.9389, allocations: 196.2 kB / 1.17 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.9405, allocations: 339.5 kB / 1.17 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00619/0.9467, allocations: 6.77 MB / 1.177 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.9485, allocations: 182.7 kB / 1.177 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.9486, allocations: 55.95 kB / 1.177 GB, free: 9.766 MB / 0.9356 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.000972/0.9496, allocations: 380.2 kB / 1.177 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.9499, allocations: 130.5 kB / 1.177 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/0.9542, allocations: 1.858 MB / 1.179 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.9543, allocations: 12 kB / 1.179 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.9543, allocations: 4 kB / 1.179 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.9543, allocations: 7.969 kB / 1.179 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006327/0.9606, allocations: 3.458 MB / 1.183 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.9607, allocations: 0 / 1.183 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.9621, allocations: 315.5 kB / 1.183 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008678/0.963, allocations: 196.1 kB / 1.183 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.987e-05/0.9631, allocations: 47.89 kB / 1.183 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.9687, allocations: 6.802 MB / 1.19 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9687, allocations: 128 / 1.19 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/0.9727, allocations: 1.718 MB / 1.192 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/0.9734, allocations: 422.8 kB / 1.192 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.9736, allocations: 32 kB / 1.192 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.9749, allocations: 137.8 kB / 1.192 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.9752, allocations: 121.1 kB / 1.192 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.9753, allocations: 71.94 kB / 1.192 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007925/0.9761, allocations: 0.5745 MB / 1.193 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9761, allocations: 0 / 1.193 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001631/0.9778, allocations: 0.5843 MB / 1.193 GB, free: 8.066 MB / 0.9512 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.001746/0.9795, allocations: 0.7183 MB / 1.194 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003667/0.9832, allocations: 1.875 MB / 1.196 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.9832, allocations: 4.562 kB / 1.196 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.9852, allocations: 1.317 MB / 1.197 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.9876, allocations: 468.8 kB / 1.198 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006775/0.9944, allocations: 3.717 MB / 1.201 GB, free: 12 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009395/0.9953, allocations: 1.294 MB / 1.203 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001867/0.9972, allocations: 434.1 kB / 1.203 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.9977, allocations: 159.2 kB / 1.203 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.9977, allocations: 0 / 1.203 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of Templates: time 0.04408/1.042, allocations: 25.69 MB / 1.228 GB, free: 4.715 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches