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.001283/0.001283, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001376/0.001376, allocations: 195 kB / 16.14 MB, free: 6.656 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.348/2.348, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.8118 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6087/0.6099, allocations: 140.4 MB / 0.9489 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.175/0.785, allocations: 164.7 MB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02066/0.8057, allocations: 16.96 MB / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.8072, allocations: 27.88 kB / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.8087, allocations: 445.3 kB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003942/0.8126, allocations: 1.354 MB / 1.128 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.8156, allocations: 1.165 MB / 1.129 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002985/0.8186, allocations: 2.642 MB / 1.132 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.8212, allocations: 1.798 MB / 1.134 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005072/0.8263, allocations: 1.165 MB / 1.135 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.8276, allocations: 0.9255 MB / 1.136 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.8279, allocations: 112 kB / 1.136 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.831, allocations: 1.47 MB / 1.137 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00053/0.8315, allocations: 474.2 kB / 1.138 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.8328, allocations: 0.8976 MB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004399/0.8372, allocations: 2.967 MB / 1.141 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8372, allocations: 0 / 1.141 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.42e-07/0.8372, allocations: 0 / 1.141 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.656e-05/0.8373, allocations: 0 / 1.141 GB, free: 12.3 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.004215/0.8415, allocations: 2.245 MB / 1.144 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.8415, allocations: 8.031 kB / 1.144 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.8452, allocations: 0.5127 MB / 1.144 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.8468, allocations: 1.09 MB / 1.145 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.923e-05/0.8469, allocations: 123.4 kB / 1.145 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.8472, allocations: 172 kB / 1.145 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.8503, allocations: 1.835 MB / 1.147 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.8503, allocations: 0 / 1.147 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.8505, allocations: 76 kB / 1.147 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.8505, allocations: 40 kB / 1.147 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/0.8537, allocations: 1.878 MB / 1.149 GB, free: 4.16 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.007515/0.8612, allocations: 5.163 MB / 1.154 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.8642, allocations: 1.767 MB / 1.156 GB, free: 12.9 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.8654, allocations: 0.6514 MB / 1.157 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008564/0.8662, allocations: 0.8078 MB / 1.157 GB, free: 11.28 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/0.8678, allocations: 0.8957 MB / 1.158 GB, free: 10.36 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.066e-06/0.8679, allocations: 0 / 1.158 GB, free: 10.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006131/0.874, allocations: 2.552 MB / 1.161 GB, free: 7.699 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.8741, allocations: 205.2 kB / 1.161 GB, free: 7.453 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.8752, allocations: 0.8344 MB / 1.162 GB, free: 6.594 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.8753, allocations: 57.69 kB / 1.162 GB, free: 6.531 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/0.8758, allocations: 0.6407 MB / 1.162 GB, free: 5.879 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.8762, allocations: 485 kB / 1.163 GB, free: 5.398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.8766, allocations: 250.8 kB / 1.163 GB, free: 5.148 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8767, allocations: 361.9 kB / 1.163 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.8778, allocations: 498.3 kB / 1.164 GB, free: 4.301 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.879, allocations: 0.6384 MB / 1.165 GB, free: 3.637 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/0.8812, allocations: 1.126 MB / 1.166 GB, free: 2.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.8812, allocations: 0 / 1.166 GB, free: 2.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00346/0.8847, allocations: 1.546 MB / 1.167 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.8847, allocations: 10.03 kB / 1.167 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.8847, allocations: 0 / 1.167 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009391/0.8856, allocations: 192.2 kB / 1.167 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.8873, allocations: 343.5 kB / 1.168 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/0.8928, allocations: 6.763 MB / 1.174 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.8942, allocations: 166.7 kB / 1.174 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.8944, allocations: 59.95 kB / 1.175 GB, free: 8.723 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.0007933/0.8952, allocations: 371.3 kB / 1.175 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.8955, allocations: 134.4 kB / 1.175 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004483/0.9, allocations: 1.847 MB / 1.177 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.9, allocations: 16 kB / 1.177 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9, allocations: 3.938 kB / 1.177 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.9001, allocations: 11.97 kB / 1.177 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006148/0.9062, allocations: 3.439 MB / 1.18 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9062, allocations: 0 / 1.18 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.9077, allocations: 319.5 kB / 1.181 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008248/0.9086, allocations: 192.1 kB / 1.181 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.695e-05/0.9087, allocations: 39.97 kB / 1.181 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005528/0.9142, allocations: 6.806 MB / 1.187 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.9142, allocations: 3.984 kB / 1.187 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/0.918, allocations: 1.707 MB / 1.189 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/0.9186, allocations: 414.8 kB / 1.189 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.9188, allocations: 28 kB / 1.189 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.9201, allocations: 121.7 kB / 1.19 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.9203, allocations: 105.2 kB / 1.19 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.9205, allocations: 75.94 kB / 1.19 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007368/0.9212, allocations: 0.5784 MB / 1.19 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9212, allocations: 4 kB / 1.19 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001408/0.9226, allocations: 0.5804 MB / 1.191 GB, free: 7.098 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.001544/0.9242, allocations: 0.7176 MB / 1.192 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003066/0.9273, allocations: 1.86 MB / 1.193 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9273, allocations: 4.562 kB / 1.193 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.9292, allocations: 1.301 MB / 1.195 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.9311, allocations: 487.4 kB / 1.195 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006128/0.9373, allocations: 3.661 MB / 1.199 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000889/0.9382, allocations: 1.298 MB / 1.2 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001776/0.94, allocations: 438.1 kB / 1.2 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.9404, allocations: 151.3 kB / 1.201 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.9404, allocations: 0 / 1.201 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of Templates: time 0.04369/0.9841, allocations: 25.84 MB / 1.226 GB, free: 3.668 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