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.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,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.001447/0.001446, allocations: 106.6 kB / 16.35 MB, free: 5.824 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.001536/0.001536, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.14 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.208/2.208, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.08 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3321, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7435/1.076, allocations: 176 MB / 1.123 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01632/1.092, allocations: 10.84 MB / 1.134 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/1.094, allocations: 30.12 kB / 1.134 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/1.096, allocations: 399.1 kB / 1.134 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004241/1.1, allocations: 1.047 MB / 1.135 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005187/1.105, allocations: 1.706 MB / 1.137 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003891/1.109, allocations: 2.291 MB / 1.139 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/1.111, allocations: 1.445 MB / 1.14 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/1.115, allocations: 1.261 MB / 1.142 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/1.117, allocations: 0.7973 MB / 1.142 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003144/1.117, allocations: 155.2 kB / 1.142 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003796/1.121, allocations: 1.413 MB / 1.144 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005556/1.121, allocations: 450.2 kB / 1.144 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/1.122, allocations: 0.773 MB / 1.145 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005194/1.128, allocations: 2.549 MB / 1.148 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.128, allocations: 0 / 1.148 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/1.128, allocations: 0 / 1.148 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.085e-05/1.128, allocations: 1 kB / 1.148 GB, free: 2.742 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.003993/1.132, allocations: 1.875 MB / 1.149 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.132, allocations: 9.25 kB / 1.149 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/1.134, allocations: 353.9 kB / 1.15 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/1.136, allocations: 0.9816 MB / 1.151 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.222e-05/1.136, allocations: 86.3 kB / 1.151 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/1.136, allocations: 121.3 kB / 1.151 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/1.139, allocations: 1.302 MB / 1.152 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/1.139, allocations: 1.094 kB / 1.152 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/1.139, allocations: 50.78 kB / 1.152 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/1.139, allocations: 28.44 kB / 1.152 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/1.141, allocations: 1.449 MB / 1.154 GB, free: 15.79 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.006935/1.148, allocations: 3.817 MB / 1.157 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/1.151, allocations: 1.209 MB / 1.159 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008412/1.152, allocations: 454.7 kB / 1.159 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007795/1.152, allocations: 423.6 kB / 1.159 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/1.154, allocations: 0.6729 MB / 1.16 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=106): time 2.765e-06/1.154, allocations: 1.281 kB / 1.16 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106): time 0.004774/1.158, allocations: 1.601 MB / 1.162 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.159, allocations: 202 kB / 1.162 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/1.16, allocations: 0.8829 MB / 1.163 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/1.16, allocations: 44.61 kB / 1.163 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/1.161, allocations: 0.5103 MB / 1.163 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/1.161, allocations: 354.3 kB / 1.164 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/1.162, allocations: 209.3 kB / 1.164 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.162, allocations: 347.7 kB / 1.164 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007141/1.162, allocations: 385.5 kB / 1.164 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008607/1.163, allocations: 0.4986 MB / 1.165 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/1.165, allocations: 0.8811 MB / 1.166 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.165, allocations: 1.094 kB / 1.166 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002983/1.168, allocations: 1.161 MB / 1.167 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/1.168, allocations: 10.94 kB / 1.167 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.168, allocations: 1.375 kB / 1.167 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/1.169, allocations: 84.69 kB / 1.167 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/1.17, allocations: 229.4 kB / 1.167 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/1.172, allocations: 1.654 MB / 1.169 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.173, allocations: 127.1 kB / 1.169 GB, free: 7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.173, allocations: 53.8 kB / 1.169 GB, free: 6.984 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.0008174/1.174, allocations: 322.8 kB / 1.169 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/1.175, allocations: 124.2 kB / 1.169 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/1.178, allocations: 1.501 MB / 1.171 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/1.178, allocations: 10.59 kB / 1.171 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.178, allocations: 2.406 kB / 1.171 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.178, allocations: 6.891 kB / 1.171 GB, free: 6.09 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.005466/1.183, allocations: 2.83 MB / 1.174 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.183, allocations: 6.844 kB / 1.174 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009183/1.184, allocations: 199.8 kB / 1.174 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/1.185, allocations: 81.48 kB / 1.174 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.104e-05/1.185, allocations: 34.16 kB / 1.174 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/1.187, allocations: 1.676 MB / 1.176 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.187, allocations: 0 / 1.176 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/1.191, allocations: 1.862 MB / 1.177 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/1.192, allocations: 339.1 kB / 1.178 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/1.192, allocations: 28.92 kB / 1.178 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008816/1.193, allocations: 77.11 kB / 1.178 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/1.193, allocations: 88.45 kB / 1.178 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.193, allocations: 48.25 kB / 1.178 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009109/1.194, allocations: 0.6255 MB / 1.179 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.194, allocations: 3.938 kB / 1.179 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001477/1.195, allocations: 452.7 kB / 1.179 GB, free: 0.6836 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.001769/1.197, allocations: 0.711 MB / 1.18 GB, free: 372 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002401/1.2, allocations: 1.102 MB / 1.181 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.2, allocations: 3.688 kB / 1.181 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/1.201, allocations: 0.6578 MB / 1.181 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.203, allocations: 0.5113 MB / 1.182 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/1.209, allocations: 2.486 MB / 1.184 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/1.21, allocations: 1.169 MB / 1.186 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001584/1.211, allocations: 370.1 kB / 1.186 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/1.212, allocations: 137 kB / 1.186 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of SimCode: time 1.512e-06/1.212, allocations: 0 / 1.186 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of Templates: time 0.04143/1.253, allocations: 23.39 MB / 1.209 GB, free: 14.54 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 -s cvode -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