Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 108.7 kB / 16.36 MB, free: 6.336 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.001563/0.001563, allocations: 193.8 kB / 17.29 MB, free: 5.883 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.38/1.38, 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.198/2.198, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 65.88 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2734, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.7596/1.033, allocations: 176 MB / 1.123 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01977/1.053, allocations: 12.73 MB / 1.135 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/1.055, allocations: 28.69 kB / 1.135 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/1.057, allocations: 446.6 kB / 1.136 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003946/1.061, allocations: 0.9656 MB / 1.137 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006149/1.067, allocations: 1.862 MB / 1.139 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004823/1.072, allocations: 2.406 MB / 1.141 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/1.075, allocations: 1.631 MB / 1.143 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004881/1.08, allocations: 1.409 MB / 1.144 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/1.082, allocations: 0.8588 MB / 1.145 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003965/1.082, allocations: 170.8 kB / 1.145 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003992/1.086, allocations: 1.427 MB / 1.146 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007713/1.087, allocations: 494.7 kB / 1.147 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001519/1.088, allocations: 0.862 MB / 1.148 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006591/1.095, allocations: 2.749 MB / 1.15 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.095, allocations: 0 / 1.15 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.765e-06/1.095, allocations: 0 / 1.15 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.151e-05/1.095, allocations: 1.469 kB / 1.15 GB, free: 0.5273 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.004851/1.1, allocations: 2.008 MB / 1.152 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.1, allocations: 9.531 kB / 1.152 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/1.103, allocations: 403 kB / 1.153 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/1.105, allocations: 1.033 MB / 1.154 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/1.106, allocations: 104 kB / 1.154 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/1.106, allocations: 132.5 kB / 1.154 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/1.109, allocations: 1.516 MB / 1.155 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/1.109, allocations: 3.938 kB / 1.155 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/1.109, allocations: 63.53 kB / 1.156 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/1.109, allocations: 37.31 kB / 1.156 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003131/1.112, allocations: 1.58 MB / 1.157 GB, free: 13.29 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.00948/1.122, allocations: 5.022 MB / 1.162 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/1.125, allocations: 1.52 MB / 1.163 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009319/1.126, allocations: 484.1 kB / 1.164 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008023/1.127, allocations: 432 kB / 1.164 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/1.128, allocations: 0.6938 MB / 1.165 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 3.376e-06/1.128, allocations: 0 / 1.165 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107): time 0.004674/1.133, allocations: 1.652 MB / 1.167 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.133, allocations: 206.5 kB / 1.167 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/1.134, allocations: 0.9004 MB / 1.168 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.135, allocations: 47.42 kB / 1.168 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/1.135, allocations: 0.6033 MB / 1.168 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/1.135, allocations: 354.2 kB / 1.169 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/1.136, allocations: 209.1 kB / 1.169 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.136, allocations: 352.6 kB / 1.169 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008372/1.137, allocations: 397.8 kB / 1.17 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009941/1.138, allocations: 0.5672 MB / 1.17 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/1.14, allocations: 0.9509 MB / 1.171 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.14, allocations: 1.406 kB / 1.171 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002892/1.143, allocations: 1.235 MB / 1.172 GB, free: 4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.143, allocations: 11.44 kB / 1.172 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.143, allocations: 2.656 kB / 1.172 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/1.143, allocations: 89.3 kB / 1.172 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.144, allocations: 260.8 kB / 1.173 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/1.146, allocations: 1.645 MB / 1.174 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.148, allocations: 139.3 kB / 1.174 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.148, allocations: 51.91 kB / 1.174 GB, free: 2.164 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (131): * Single equations (assignments): 130 * 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.0007713/1.149, allocations: 344.9 kB / 1.175 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/1.149, allocations: 122.4 kB / 1.175 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/1.152, allocations: 1.438 MB / 1.176 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.152, allocations: 10.78 kB / 1.176 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.152, allocations: 0 / 1.176 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/1.152, allocations: 7.969 kB / 1.176 GB, free: 1.027 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.005039/1.157, allocations: 2.868 MB / 1.179 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/1.157, allocations: 7.984 kB / 1.179 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009667/1.158, allocations: 215.8 kB / 1.179 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/1.158, allocations: 76.53 kB / 1.179 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/1.159, allocations: 31.02 kB / 1.179 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.16, allocations: 1.667 MB / 1.181 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.16, allocations: 8.047 kB / 1.181 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/1.163, allocations: 1.316 MB / 1.182 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/1.164, allocations: 356.7 kB / 1.183 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/1.164, allocations: 27.16 kB / 1.183 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/1.165, allocations: 81.53 kB / 1.183 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/1.166, allocations: 85.27 kB / 1.183 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.166, allocations: 52.52 kB / 1.183 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008904/1.167, allocations: 0.6158 MB / 1.184 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.61e-07/1.167, allocations: 0 / 1.184 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001538/1.168, allocations: 489.4 kB / 1.184 GB, free: 11.75 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (118): * Single equations (assignments): 112 * 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.001719/1.17, allocations: 0.7175 MB / 1.185 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002393/1.172, allocations: 1.149 MB / 1.186 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/1.172, allocations: 7.188 kB / 1.186 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/1.174, allocations: 0.6713 MB / 1.186 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/1.176, allocations: 0.5144 MB / 1.187 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/1.181, allocations: 2.437 MB / 1.189 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/1.182, allocations: 1.208 MB / 1.191 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001504/1.184, allocations: 387.1 kB / 1.191 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/1.184, allocations: 144.1 kB / 1.191 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of SimCode: time 1.242e-06/1.184, allocations: 0 / 1.191 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of Templates: time 0.04024/1.224, allocations: 23.95 MB / 1.214 GB, free: 8.141 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches