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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001419/0.001419, allocations: 117.8 kB / 16.37 MB, free: 6.004 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.001597/0.001597, allocations: 192.8 kB / 17.31 MB, free: 5.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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.05 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3009, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.6622/0.9632, allocations: 167.1 MB / 1.114 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.983, allocations: 16.92 MB / 1.131 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.9854, allocations: 30.91 kB / 1.131 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.987, allocations: 0.5056 MB / 1.131 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005369/0.9925, allocations: 1.519 MB / 1.133 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.9964, allocations: 1.312 MB / 1.134 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003611/1, allocations: 2.496 MB / 1.137 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/1.003, allocations: 1.928 MB / 1.138 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/1.006, allocations: 1.318 MB / 1.14 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/1.008, allocations: 0.9516 MB / 1.141 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003145/1.008, allocations: 206.4 kB / 1.141 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003345/1.011, allocations: 1.437 MB / 1.142 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004369/1.012, allocations: 0.551 MB / 1.143 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009356/1.013, allocations: 0.9923 MB / 1.144 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004416/1.017, allocations: 3.04 MB / 1.147 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.017, allocations: 1.594 kB / 1.147 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.82e-07/1.017, allocations: 0 / 1.147 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.658e-05/1.017, allocations: 0 / 1.147 GB, free: 2.539 MB / 0.8575 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.004558/1.022, allocations: 2.249 MB / 1.149 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.022, allocations: 10.31 kB / 1.149 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/1.026, allocations: 0.513 MB / 1.149 GB, free: 17 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/1.027, allocations: 1.118 MB / 1.15 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.1e-05/1.028, allocations: 129.2 kB / 1.151 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/1.028, allocations: 163.8 kB / 1.151 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/1.031, allocations: 1.846 MB / 1.153 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/1.031, allocations: 1.219 kB / 1.153 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/1.031, allocations: 73.53 kB / 1.153 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/1.031, allocations: 41.12 kB / 1.153 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/1.035, allocations: 1.88 MB / 1.155 GB, free: 14.91 MB / 0.8731 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.008235/1.043, allocations: 5.119 MB / 1.16 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/1.046, allocations: 1.762 MB / 1.161 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/1.047, allocations: 0.646 MB / 1.162 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009061/1.048, allocations: 0.8069 MB / 1.163 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001584/1.05, allocations: 0.8941 MB / 1.164 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.086e-06/1.05, allocations: 0 / 1.164 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.006133/1.056, allocations: 2.552 MB / 1.166 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.056, allocations: 199.3 kB / 1.166 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.057, allocations: 0.8394 MB / 1.167 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/1.057, allocations: 59.61 kB / 1.167 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/1.058, allocations: 0.6446 MB / 1.168 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/1.058, allocations: 482.4 kB / 1.168 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/1.058, allocations: 256.8 kB / 1.168 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.059, allocations: 358.5 kB / 1.169 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009916/1.06, allocations: 499.6 kB / 1.169 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.061, allocations: 0.6407 MB / 1.17 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/1.063, allocations: 1.122 MB / 1.171 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.063, allocations: 0 / 1.171 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003477/1.066, allocations: 1.545 MB / 1.172 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.066, allocations: 9.625 kB / 1.172 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.066, allocations: 2.375 kB / 1.172 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009545/1.067, allocations: 194.3 kB / 1.173 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/1.069, allocations: 335.4 kB / 1.173 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/1.075, allocations: 7.285 MB / 1.18 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/1.077, allocations: 151.4 kB / 1.18 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.077, allocations: 62.64 kB / 1.18 GB, free: 12.63 MB / 0.8887 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.0008597/1.078, allocations: 377.4 kB / 1.181 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003028/1.078, allocations: 130.5 kB / 1.181 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003991/1.082, allocations: 1.844 MB / 1.183 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.082, allocations: 19.94 kB / 1.183 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.082, allocations: 3.375 kB / 1.183 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/1.082, allocations: 7.969 kB / 1.183 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006104/1.088, allocations: 3.437 MB / 1.186 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.088, allocations: 0 / 1.186 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/1.09, allocations: 318.6 kB / 1.186 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007541/1.09, allocations: 177.9 kB / 1.186 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/1.09, allocations: 38.41 kB / 1.186 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005692/1.096, allocations: 7.324 MB / 1.194 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.096, allocations: 4.125 kB / 1.194 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/1.1, allocations: 1.712 MB / 1.195 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/1.101, allocations: 407.5 kB / 1.196 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/1.101, allocations: 27.62 kB / 1.196 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.102, allocations: 103.3 kB / 1.196 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/1.102, allocations: 118.4 kB / 1.196 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.102, allocations: 66.08 kB / 1.196 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000773/1.103, allocations: 0.5769 MB / 1.197 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.103, allocations: 0 / 1.197 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001486/1.105, allocations: 0.578 MB / 1.197 GB, free: 15.41 MB / 0.9044 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.001638/1.106, allocations: 0.7247 MB / 1.198 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003117/1.109, allocations: 1.865 MB / 1.2 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.11, allocations: 6.719 kB / 1.2 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/1.111, allocations: 1.309 MB / 1.201 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/1.113, allocations: 0.5035 MB / 1.201 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/1.119, allocations: 2.879 MB / 1.204 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008355/1.12, allocations: 1.298 MB / 1.206 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001417/1.121, allocations: 431.3 kB / 1.206 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/1.122, allocations: 157.2 kB / 1.206 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/1.122, allocations: 0 / 1.206 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.06465/1.186, allocations: 26.86 MB / 1.232 GB, free: 3.914 MB / 0.92 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 -s gbode -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/jenkins1/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