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.001569/0.001569, allocations: 106.9 kB / 16.35 MB, free: 6.293 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.001774/0.001774, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 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.111/2.111, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 65.25 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2533, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6884/0.9417, allocations: 176 MB / 1.123 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.9565, allocations: 10.85 MB / 1.134 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.9584, allocations: 37.09 kB / 1.134 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.9599, allocations: 399.2 kB / 1.134 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.9636, allocations: 1.047 MB / 1.135 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004886/0.9685, allocations: 1.709 MB / 1.137 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003417/0.972, allocations: 2.293 MB / 1.139 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.9741, allocations: 1.444 MB / 1.14 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.9776, allocations: 1.258 MB / 1.142 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.9792, allocations: 0.7952 MB / 1.142 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003066/0.9795, allocations: 154.4 kB / 1.142 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/0.983, allocations: 1.414 MB / 1.144 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005543/0.9835, allocations: 456.1 kB / 1.144 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009784/0.9845, allocations: 0.7636 MB / 1.145 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004445/0.989, allocations: 2.551 MB / 1.148 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.989, allocations: 2.906 kB / 1.148 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.989, allocations: 1.156 kB / 1.148 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.535e-05/0.989, allocations: 0 / 1.148 GB, free: 2.781 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.00347/0.9925, allocations: 1.869 MB / 1.149 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.9926, allocations: 9.312 kB / 1.149 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.9948, allocations: 352.6 kB / 1.15 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.9965, allocations: 0.9811 MB / 1.151 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/0.9966, allocations: 91.2 kB / 1.151 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.9968, allocations: 119.9 kB / 1.151 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.9991, allocations: 1.3 MB / 1.152 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.9991, allocations: 1.094 kB / 1.152 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.9992, allocations: 50.62 kB / 1.152 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.9993, allocations: 27.72 kB / 1.152 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/1.002, allocations: 1.453 MB / 1.154 GB, free: 15.83 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.006585/1.008, allocations: 3.813 MB / 1.157 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/1.011, allocations: 1.217 MB / 1.159 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000783/1.011, allocations: 457.8 kB / 1.159 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000796/1.012, allocations: 427.1 kB / 1.159 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/1.013, allocations: 0.6617 MB / 1.16 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=106): time 2.555e-06/1.013, allocations: 0 / 1.16 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106): time 0.004362/1.018, allocations: 1.61 MB / 1.162 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/1.018, allocations: 194.4 kB / 1.162 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/1.019, allocations: 0.8812 MB / 1.163 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.019, allocations: 48.45 kB / 1.163 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/1.02, allocations: 0.5082 MB / 1.163 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/1.02, allocations: 354.9 kB / 1.164 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/1.021, allocations: 212.5 kB / 1.164 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.021, allocations: 344.2 kB / 1.164 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006863/1.022, allocations: 386.3 kB / 1.164 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008663/1.022, allocations: 0.5036 MB / 1.165 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/1.024, allocations: 0.8778 MB / 1.166 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/1.024, allocations: 1.938 kB / 1.166 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00259/1.027, allocations: 1.162 MB / 1.167 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.027, allocations: 5.562 kB / 1.167 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.027, allocations: 3.125 kB / 1.167 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/1.027, allocations: 84.84 kB / 1.167 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/1.028, allocations: 233 kB / 1.167 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/1.03, allocations: 1.65 MB / 1.169 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.031, allocations: 129.8 kB / 1.169 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.031, allocations: 45.7 kB / 1.169 GB, free: 7.027 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.0006261/1.032, allocations: 324 kB / 1.169 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/1.032, allocations: 126 kB / 1.169 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/1.035, allocations: 1.502 MB / 1.171 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/1.035, allocations: 10.25 kB / 1.171 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/1.035, allocations: 3.375 kB / 1.171 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/1.035, allocations: 6.844 kB / 1.171 GB, free: 6.129 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.004585/1.04, allocations: 2.836 MB / 1.174 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.04, allocations: 1.781 kB / 1.174 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008728/1.041, allocations: 201.8 kB / 1.174 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/1.041, allocations: 77.12 kB / 1.174 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.947e-05/1.041, allocations: 30.73 kB / 1.174 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/1.043, allocations: 1.674 MB / 1.176 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.043, allocations: 2.812 kB / 1.176 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/1.046, allocations: 1.865 MB / 1.177 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/1.047, allocations: 340.2 kB / 1.178 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/1.047, allocations: 24.56 kB / 1.178 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008603/1.048, allocations: 78.66 kB / 1.178 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.048, allocations: 94.97 kB / 1.178 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.271e-05/1.048, allocations: 52.25 kB / 1.178 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007834/1.049, allocations: 0.6281 MB / 1.179 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.049, allocations: 0 / 1.179 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001206/1.05, allocations: 454.6 kB / 1.179 GB, free: 0.7305 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.001498/1.052, allocations: 0.7016 MB / 1.18 GB, free: 424 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002102/1.054, allocations: 1.1 MB / 1.181 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.054, allocations: 3.094 kB / 1.181 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/1.055, allocations: 0.6605 MB / 1.181 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.057, allocations: 0.5118 MB / 1.182 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/1.062, allocations: 2.491 MB / 1.184 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/1.063, allocations: 1.161 MB / 1.186 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001188/1.064, allocations: 378.3 kB / 1.186 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/1.064, allocations: 137.7 kB / 1.186 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of SimCode: time 4.91e-07/1.064, allocations: 0 / 1.186 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of Templates: time 0.03722/1.101, allocations: 23.38 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 gbode -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