Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 132 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.001188/0.001188, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.3/2.3, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 55.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6513/0.6526, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.193/0.8456, allocations: 176 MB / 1.121 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.8614, allocations: 10.85 MB / 1.132 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.8629, allocations: 35.81 kB / 1.132 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.8642, allocations: 396.9 kB / 1.132 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.8676, allocations: 1.048 MB / 1.134 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004728/0.8723, allocations: 1.701 MB / 1.135 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002876/0.8752, allocations: 2.28 MB / 1.137 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.8774, allocations: 1.435 MB / 1.139 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003532/0.881, allocations: 1.248 MB / 1.14 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.8829, allocations: 0.7935 MB / 1.141 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004086/0.8833, allocations: 156 kB / 1.141 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.8876, allocations: 1.384 MB / 1.142 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005761/0.8882, allocations: 462.6 kB / 1.143 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001/0.8892, allocations: 0.7657 MB / 1.143 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.893, allocations: 2.509 MB / 1.146 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.893, allocations: 0 / 1.146 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8931, allocations: 0 / 1.146 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.424e-05/0.8931, allocations: 0 / 1.146 GB, free: 8.09 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003229/0.8963, allocations: 1.868 MB / 1.148 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.8964, allocations: 12.03 kB / 1.148 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.8985, allocations: 349.8 kB / 1.148 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.8999, allocations: 0.9408 MB / 1.149 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.9, allocations: 94.31 kB / 1.149 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.9002, allocations: 119.9 kB / 1.149 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.9024, allocations: 1.302 MB / 1.15 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.9024, allocations: 0 / 1.15 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.9025, allocations: 48 kB / 1.151 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.9026, allocations: 28 kB / 1.151 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.9049, allocations: 1.457 MB / 1.152 GB, free: 1.703 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.005811/0.9107, allocations: 3.856 MB / 1.156 GB, free: 13.69 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.9129, allocations: 1.208 MB / 1.157 GB, free: 12.46 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007478/0.9137, allocations: 447.6 kB / 1.157 GB, free: 12.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000741/0.9144, allocations: 425.3 kB / 1.158 GB, free: 11.53 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.9156, allocations: 0.6683 MB / 1.158 GB, free: 10.85 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 2.895e-06/0.9156, allocations: 0 / 1.158 GB, free: 10.85 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.004062/0.9196, allocations: 1.602 MB / 1.16 GB, free: 9.215 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.9198, allocations: 196.9 kB / 1.16 GB, free: 8.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.921, allocations: 0.8824 MB / 1.161 GB, free: 8.074 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-05/0.9211, allocations: 49.7 kB / 1.161 GB, free: 8.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.9215, allocations: 0.516 MB / 1.162 GB, free: 7.496 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.9218, allocations: 354.8 kB / 1.162 GB, free: 7.145 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/0.9222, allocations: 206.8 kB / 1.162 GB, free: 6.938 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9223, allocations: 353.9 kB / 1.162 GB, free: 6.586 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/0.923, allocations: 382.4 kB / 1.163 GB, free: 6.211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009183/0.924, allocations: 0.5085 MB / 1.163 GB, free: 5.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.9256, allocations: 0.8679 MB / 1.164 GB, free: 4.793 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.9256, allocations: 0 / 1.164 GB, free: 4.793 MB / 0.92 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002657/0.9282, allocations: 1.169 MB / 1.165 GB, free: 3.617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.9283, allocations: 4 kB / 1.165 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9283, allocations: 0 / 1.165 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.9289, allocations: 88.86 kB / 1.165 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00099/0.9299, allocations: 227.7 kB / 1.166 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.9321, allocations: 1.65 MB / 1.167 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.9332, allocations: 132.5 kB / 1.167 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/0.9333, allocations: 47.95 kB / 1.167 GB, free: 1.324 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006104/0.9339, allocations: 323.9 kB / 1.168 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.9342, allocations: 122.4 kB / 1.168 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/0.9373, allocations: 1.505 MB / 1.169 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.9373, allocations: 12 kB / 1.169 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9373, allocations: 0 / 1.169 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.9373, allocations: 7.969 kB / 1.169 GB, free: 15.33 MB / 0.9356 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 postOpt removeSimpleEquations (simulation): time 0.004858/0.9422, allocations: 2.838 MB / 1.172 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.9422, allocations: 4 kB / 1.172 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008979/0.9431, allocations: 203.7 kB / 1.172 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.9436, allocations: 76.97 kB / 1.172 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/0.9437, allocations: 35.97 kB / 1.172 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.9457, allocations: 1.678 MB / 1.174 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9457, allocations: 0 / 1.174 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00359/0.9493, allocations: 1.868 MB / 1.176 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/0.9499, allocations: 343.3 kB / 1.176 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.9501, allocations: 24 kB / 1.176 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008797/0.951, allocations: 71.92 kB / 1.176 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.9513, allocations: 96.75 kB / 1.176 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.381e-05/0.9514, allocations: 47.97 kB / 1.176 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001018/0.9524, allocations: 0.6222 MB / 1.177 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5e-07/0.9524, allocations: 0 / 1.177 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001506/0.9539, allocations: 451 kB / 1.177 GB, free: 6.672 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001861/0.9558, allocations: 0.7137 MB / 1.178 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003292/0.9591, allocations: 1.37 MB / 1.179 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.9591, allocations: 4 kB / 1.179 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.9604, allocations: 0.6606 MB / 1.18 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.9626, allocations: 0.5099 MB / 1.181 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/0.9682, allocations: 2.521 MB / 1.183 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009/0.9692, allocations: 1.162 MB / 1.184 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001497/0.9707, allocations: 369.8 kB / 1.185 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/0.971, allocations: 131.4 kB / 1.185 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of SimCode: time 6.22e-07/0.971, allocations: 4 kB / 1.185 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.04283/1.014, allocations: 23.4 MB / 1.208 GB, free: 8.234 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches