Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001707/0.001707, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.787/2.787, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 59.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6644/0.6663, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2079/0.8742, allocations: 168.3 MB / 1.182 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.8981, allocations: 17.07 MB / 1.198 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.9004, allocations: 35.81 kB / 1.198 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.9022, allocations: 0.5466 MB / 1.199 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005465/0.9078, allocations: 1.612 MB / 1.2 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003623/0.9114, allocations: 1.323 MB / 1.202 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004242/0.9157, allocations: 2.688 MB / 1.204 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.9187, allocations: 1.878 MB / 1.206 GB, free: 324 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004276/0.923, allocations: 1.339 MB / 1.208 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.9248, allocations: 0.9803 MB / 1.208 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005649/0.9253, allocations: 211.9 kB / 1.209 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.929, allocations: 1.396 MB / 1.21 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008976/0.9299, allocations: 0.553 MB / 1.211 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002176/0.9321, allocations: 1.038 MB / 1.212 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005481/0.9376, allocations: 3.05 MB / 1.215 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.9376, allocations: 0 / 1.215 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9377, allocations: 0 / 1.215 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.128e-05/0.9377, allocations: 0 / 1.215 GB, free: 7.773 MB / 0.9669 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.004443/0.9422, allocations: 2.283 MB / 1.217 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.9422, allocations: 8.031 kB / 1.217 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003739/0.946, allocations: 0.5089 MB / 1.217 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.948, allocations: 1.082 MB / 1.218 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.9482, allocations: 131.4 kB / 1.218 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.9484, allocations: 160 kB / 1.219 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00356/0.952, allocations: 1.847 MB / 1.22 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.952, allocations: 0 / 1.22 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.9522, allocations: 72 kB / 1.221 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/0.9523, allocations: 48 kB / 1.221 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/0.9558, allocations: 1.875 MB / 1.222 GB, free: 15.6 MB / 0.9825 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.008824/0.9647, allocations: 5.577 MB / 1.228 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/0.968, allocations: 1.766 MB / 1.23 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.9693, allocations: 0.6476 MB / 1.23 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.9703, allocations: 0.8078 MB / 1.231 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/0.9721, allocations: 0.8841 MB / 1.232 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.296e-06/0.9721, allocations: 0 / 1.232 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006536/0.9786, allocations: 2.556 MB / 1.234 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.9788, allocations: 201.2 kB / 1.235 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.98, allocations: 0.8345 MB / 1.235 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.9802, allocations: 57.7 kB / 1.235 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/0.9808, allocations: 0.6368 MB / 1.236 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.9813, allocations: 492.8 kB / 1.236 GB, free: 352 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/0.9817, allocations: 254.8 kB / 1.237 GB, free: 92 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.9819, allocations: 357.9 kB / 1.237 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.9829, allocations: 0.4906 MB / 1.238 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.9842, allocations: 0.6385 MB / 1.238 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.9865, allocations: 1.118 MB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.9866, allocations: 4.094 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003753/0.9903, allocations: 1.55 MB / 1.241 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.9903, allocations: 9.5 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.9904, allocations: 4 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009388/0.9913, allocations: 188.2 kB / 1.241 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.9929, allocations: 335.5 kB / 1.241 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/0.9997, allocations: 7.29 MB / 1.248 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.001, allocations: 150.7 kB / 1.249 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/1.001, allocations: 59.95 kB / 1.249 GB, free: 3.129 MB / 0.9981 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.0008236/1.002, allocations: 379.5 kB / 1.249 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/1.002, allocations: 126.5 kB / 1.249 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004282/1.007, allocations: 1.85 MB / 1.251 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/1.007, allocations: 16 kB / 1.251 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.007, allocations: 0 / 1.251 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/1.007, allocations: 7.969 kB / 1.251 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5801/1.587, allocations: 3.435 MB / 1.254 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/1.587, allocations: 0 / 1.254 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/1.589, allocations: 315 kB / 1.255 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008213/1.589, allocations: 191.3 kB / 1.255 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.59, allocations: 40.08 kB / 1.255 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00485/1.594, allocations: 7.316 MB / 1.262 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.594, allocations: 1.547 kB / 1.262 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/1.599, allocations: 1.708 MB / 1.264 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/1.6, allocations: 401.5 kB / 1.264 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/1.6, allocations: 34.5 kB / 1.264 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.601, allocations: 104.5 kB / 1.264 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/1.602, allocations: 112.9 kB / 1.264 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/1.602, allocations: 72.77 kB / 1.264 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000973/1.603, allocations: 0.5797 MB / 1.265 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.603, allocations: 0 / 1.265 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001957/1.605, allocations: 0.5997 MB / 1.265 GB, free: 221.7 MB / 0.9981 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.002332/1.607, allocations: 0.7255 MB / 1.266 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006665/1.614, allocations: 2.308 MB / 1.268 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/1.614, allocations: 2.688 kB / 1.268 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00243/1.616, allocations: 1.306 MB / 1.27 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/1.619, allocations: 0.5231 MB / 1.27 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007563/1.627, allocations: 2.816 MB / 1.273 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/1.628, allocations: 1.295 MB / 1.274 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002519/1.631, allocations: 442.3 kB / 1.275 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/1.631, allocations: 151 kB / 1.275 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.363e-06/1.631, allocations: 4 kB / 1.275 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.0444/1.676, allocations: 27.72 MB / 1.302 GB, free: 199.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches