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.001599/0.001599, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002538/0.002538, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.424/2.424, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6947/0.696, allocations: 140.4 MB / 0.9489 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1949/0.8909, allocations: 173.7 MB / 1.119 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.905, allocations: 10.87 MB / 1.129 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.9062, allocations: 39.75 kB / 1.129 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.9074, allocations: 321.8 kB / 1.13 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.9104, allocations: 0.9424 MB / 1.13 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004035/0.9145, allocations: 1.515 MB / 1.132 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.9174, allocations: 2.592 MB / 1.134 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.9194, allocations: 1.301 MB / 1.136 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0041/0.9235, allocations: 1.125 MB / 1.137 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.9246, allocations: 0.7739 MB / 1.138 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.9248, allocations: 80 kB / 1.138 GB, free: 160 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.9283, allocations: 1.462 MB / 1.139 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004369/0.9287, allocations: 370.7 kB / 1.139 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008399/0.9296, allocations: 0.6915 MB / 1.14 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003863/0.9334, allocations: 2.496 MB / 1.143 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9334, allocations: 4 kB / 1.143 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9335, allocations: 0 / 1.143 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.9335, allocations: 0 / 1.143 GB, free: 11.12 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.00345/0.9369, allocations: 1.872 MB / 1.144 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.937, allocations: 8.031 kB / 1.144 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.9392, allocations: 361.8 kB / 1.145 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.9407, allocations: 0.9407 MB / 1.146 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.064e-05/0.9408, allocations: 90.31 kB / 1.146 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.941, allocations: 123.9 kB / 1.146 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.9432, allocations: 1.298 MB / 1.147 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.9432, allocations: 4 kB / 1.147 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.9433, allocations: 48 kB / 1.147 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.9434, allocations: 28 kB / 1.147 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.9457, allocations: 1.449 MB / 1.149 GB, free: 4.734 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.005978/0.9516, allocations: 3.852 MB / 1.152 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.9538, allocations: 1.208 MB / 1.154 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000748/0.9546, allocations: 453 kB / 1.154 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007855/0.9554, allocations: 425.2 kB / 1.154 GB, free: 14.56 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/0.9565, allocations: 0.6683 MB / 1.155 GB, free: 13.88 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 2.896e-06/0.9565, allocations: 0 / 1.155 GB, free: 13.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.004151/0.9607, allocations: 1.606 MB / 1.157 GB, free: 12.24 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.9608, allocations: 196.9 kB / 1.157 GB, free: 12.01 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.962, allocations: 0.8785 MB / 1.158 GB, free: 11.11 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.422e-05/0.9621, allocations: 53.69 kB / 1.158 GB, free: 11.05 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.9626, allocations: 0.5083 MB / 1.158 GB, free: 10.53 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.9629, allocations: 354.9 kB / 1.159 GB, free: 10.18 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.9632, allocations: 206.8 kB / 1.159 GB, free: 9.973 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9633, allocations: 349.9 kB / 1.159 GB, free: 9.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.964, allocations: 386.4 kB / 1.159 GB, free: 9.246 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.9649, allocations: 0.5046 MB / 1.16 GB, free: 8.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.9664, allocations: 0.8718 MB / 1.161 GB, free: 7.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9664, allocations: 0 / 1.161 GB, free: 7.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002536/0.9689, allocations: 1.169 MB / 1.162 GB, free: 6.648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.969, allocations: 5.719 kB / 1.162 GB, free: 6.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.969, allocations: 4 kB / 1.162 GB, free: 6.641 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.9696, allocations: 80.86 kB / 1.162 GB, free: 6.559 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009787/0.9706, allocations: 235.7 kB / 1.162 GB, free: 6.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.9728, allocations: 1.542 MB / 1.164 GB, free: 4.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.974, allocations: 134.9 kB / 1.164 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.9741, allocations: 51.95 kB / 1.164 GB, free: 4.461 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.0007347/0.9748, allocations: 319.3 kB / 1.164 GB, free: 4.141 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.9751, allocations: 122.5 kB / 1.164 GB, free: 4.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.9785, allocations: 1.505 MB / 1.166 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.9785, allocations: 12 kB / 1.166 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9785, allocations: 0 / 1.166 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.9785, allocations: 8.016 kB / 1.166 GB, free: 2.477 MB / 0.92 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.005712/0.9843, allocations: 2.842 MB / 1.169 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.9843, allocations: 4 kB / 1.169 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009318/0.9852, allocations: 199.9 kB / 1.169 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005401/0.9858, allocations: 88.77 kB / 1.169 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.981e-05/0.9859, allocations: 31.98 kB / 1.169 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.988, allocations: 1.563 MB / 1.17 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.988, allocations: 0 / 1.17 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/0.9918, allocations: 1.86 MB / 1.172 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007187/0.9925, allocations: 343.3 kB / 1.173 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/0.9928, allocations: 31.94 kB / 1.173 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.9939, allocations: 81.23 kB / 1.173 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.9941, allocations: 88.88 kB / 1.173 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.9943, allocations: 47.97 kB / 1.173 GB, free: 11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001096/0.9954, allocations: 0.6261 MB / 1.173 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9954, allocations: 3.938 kB / 1.173 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001396/0.9968, allocations: 447.1 kB / 1.174 GB, free: 9.922 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.001755/0.9985, allocations: 0.7126 MB / 1.175 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002458/1.001, allocations: 1.093 MB / 1.176 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.001, allocations: 4 kB / 1.176 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.002, allocations: 0.6645 MB / 1.176 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.005, allocations: 482.2 kB / 1.177 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/1.012, allocations: 3.033 MB / 1.18 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.013, allocations: 1.158 MB / 1.181 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001617/1.015, allocations: 369.6 kB / 1.181 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/1.015, allocations: 135.4 kB / 1.181 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of SimCode: time 1.172e-06/1.015, allocations: 0 / 1.181 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of Templates: time 0.04135/1.056, allocations: 22.48 MB / 1.203 GB, free: 12.18 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