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.001604/0.001604, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001797/0.001797, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.214/2.214, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001338, allocations: 68.78 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2862, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7533/1.04, allocations: 176 MB / 1.122 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01644/1.056, allocations: 10.84 MB / 1.133 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/1.059, allocations: 34.94 kB / 1.133 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/1.06, allocations: 402 kB / 1.133 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004656/1.065, allocations: 1.056 MB / 1.134 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006131/1.071, allocations: 1.692 MB / 1.136 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004401/1.076, allocations: 2.284 MB / 1.138 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/1.078, allocations: 1.437 MB / 1.139 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/1.082, allocations: 1.262 MB / 1.141 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/1.084, allocations: 0.793 MB / 1.141 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003824/1.084, allocations: 154.5 kB / 1.142 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/1.088, allocations: 1.381 MB / 1.143 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005277/1.088, allocations: 453.3 kB / 1.143 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/1.09, allocations: 0.7674 MB / 1.144 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005201/1.095, allocations: 2.507 MB / 1.147 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.095, allocations: 1.656 kB / 1.147 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/1.095, allocations: 0 / 1.147 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.997e-05/1.095, allocations: 0 / 1.147 GB, free: 3.145 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00435/1.099, allocations: 1.876 MB / 1.148 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.099, allocations: 8.562 kB / 1.148 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/1.102, allocations: 352.6 kB / 1.149 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/1.103, allocations: 0.9433 MB / 1.15 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/1.104, allocations: 89.09 kB / 1.15 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/1.104, allocations: 124.5 kB / 1.15 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/1.106, allocations: 1.3 MB / 1.151 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/1.106, allocations: 0 / 1.151 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/1.106, allocations: 50.06 kB / 1.151 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/1.106, allocations: 28.84 kB / 1.151 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/1.109, allocations: 1.452 MB / 1.153 GB, free: 16.19 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.007053/1.116, allocations: 3.854 MB / 1.156 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/1.118, allocations: 1.206 MB / 1.158 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008579/1.119, allocations: 456.1 kB / 1.158 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007927/1.12, allocations: 424.5 kB / 1.158 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/1.121, allocations: 0.6669 MB / 1.159 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=106): time 2.945e-06/1.121, allocations: 0 / 1.159 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106): time 0.004574/1.126, allocations: 1.602 MB / 1.161 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.126, allocations: 200.1 kB / 1.161 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/1.127, allocations: 0.8836 MB / 1.162 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/1.128, allocations: 45.2 kB / 1.162 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/1.128, allocations: 0.5139 MB / 1.162 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/1.128, allocations: 352.9 kB / 1.163 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/1.129, allocations: 208.3 kB / 1.163 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.129, allocations: 349.6 kB / 1.163 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007391/1.13, allocations: 383.2 kB / 1.164 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008663/1.13, allocations: 0.5013 MB / 1.164 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/1.132, allocations: 0.8772 MB / 1.165 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.132, allocations: 2.062 kB / 1.165 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002828/1.135, allocations: 1.164 MB / 1.166 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.135, allocations: 4.812 kB / 1.166 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.135, allocations: 1.938 kB / 1.166 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/1.136, allocations: 86.83 kB / 1.166 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.137, allocations: 230.7 kB / 1.166 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.139, allocations: 1.653 MB / 1.168 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/1.14, allocations: 123.2 kB / 1.168 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/1.14, allocations: 51.23 kB / 1.168 GB, free: 7.379 MB / 0.8731 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.000786/1.141, allocations: 318.6 kB / 1.168 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/1.141, allocations: 129.3 kB / 1.169 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/1.145, allocations: 1.5 MB / 1.17 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.145, allocations: 13.16 kB / 1.17 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.145, allocations: 0 / 1.17 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/1.145, allocations: 6.188 kB / 1.17 GB, free: 6.469 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 postOpt removeSimpleEquations (simulation): time 0.004984/1.15, allocations: 2.839 MB / 1.173 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.15, allocations: 4.188 kB / 1.173 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008781/1.15, allocations: 205.4 kB / 1.173 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/1.151, allocations: 76.66 kB / 1.173 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-05/1.151, allocations: 37.56 kB / 1.173 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/1.153, allocations: 1.67 MB / 1.175 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.153, allocations: 3.406 kB / 1.175 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/1.157, allocations: 1.863 MB / 1.177 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007825/1.157, allocations: 338.3 kB / 1.177 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/1.158, allocations: 31.05 kB / 1.177 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008901/1.159, allocations: 69.81 kB / 1.177 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/1.159, allocations: 93.19 kB / 1.177 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.855e-05/1.159, allocations: 50.06 kB / 1.177 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008944/1.16, allocations: 0.6234 MB / 1.178 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.16, allocations: 0 / 1.178 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001431/1.161, allocations: 449.7 kB / 1.178 GB, free: 1.289 MB / 0.8731 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.00163/1.163, allocations: 0.7211 MB / 1.179 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003569/1.166, allocations: 1.371 MB / 1.18 GB, free: 380 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.166, allocations: 0 / 1.18 GB, free: 380 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/1.168, allocations: 0.6544 MB / 1.181 GB, free: 8 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/1.17, allocations: 0.5173 MB / 1.181 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006962/1.177, allocations: 2.577 MB / 1.184 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.178, allocations: 1.163 MB / 1.185 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008265/1.179, allocations: 146.9 kB / 1.185 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of SimCode: time 2.264e-06/1.179, allocations: 2 kB / 1.185 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of Templates: time 0.04244/1.222, allocations: 26.68 MB / 1.211 GB, free: 11.48 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches