Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007536/0.007536, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001538/0.001538, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.369/2.369, allocations: 390.2 MB / 0.6648 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 0.9508 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.013, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2182/1.231, allocations: 162.9 MB / 1.247 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006198/1.237, allocations: 3.484 MB / 1.25 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007926/1.238, allocations: 19.88 kB / 1.25 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/1.239, allocations: 282.5 kB / 1.251 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002481/1.242, allocations: 0.8906 MB / 1.252 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/1.243, allocations: 481.4 kB / 1.252 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00166/1.245, allocations: 1.098 MB / 1.253 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004968/1.245, allocations: 332.1 kB / 1.253 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007845/1.246, allocations: 423.3 kB / 1.254 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/1.247, allocations: 353.3 kB / 1.254 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.845e-05/1.247, allocations: 40 kB / 1.254 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/1.249, allocations: 0.6899 MB / 1.255 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/1.249, allocations: 171.5 kB / 1.255 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/1.25, allocations: 270.6 kB / 1.255 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/1.251, allocations: 0.9377 MB / 1.256 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.251, allocations: 0 / 1.256 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/1.251, allocations: 0 / 1.256 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.528e-06/1.251, allocations: 0 / 1.256 GB, free: 1.414 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001469/1.252, allocations: 0.8905 MB / 1.257 GB, free: 480 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.252, allocations: 8.031 kB / 1.257 GB, free: 472 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.254, allocations: 159.5 kB / 1.257 GB, free: 312 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/1.254, allocations: 0.5052 MB / 1.258 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/1.254, allocations: 24.56 kB / 1.258 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/1.255, allocations: 35.98 kB / 1.258 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/1.255, allocations: 319.6 kB / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.255, allocations: 0 / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/1.255, allocations: 16 kB / 1.258 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/1.255, allocations: 12.56 kB / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/1.256, allocations: 214.1 kB / 1.258 GB, free: 15.14 MB / 0.9981 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.00204/1.258, allocations: 1.426 MB / 1.26 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/1.258, allocations: 214.2 kB / 1.26 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/1.258, allocations: 120.8 kB / 1.26 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/1.258, allocations: 0 / 1.26 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003097/1.259, allocations: 159.7 kB / 1.26 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 3.106e-06/1.259, allocations: 0 / 1.26 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002854/1.261, allocations: 1.1 MB / 1.261 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/1.262, allocations: 63.34 kB / 1.261 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/1.262, allocations: 473.7 kB / 1.262 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/1.262, allocations: 37.7 kB / 1.262 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/1.262, allocations: 236.5 kB / 1.262 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/1.262, allocations: 99.16 kB / 1.262 GB, free: 11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/1.263, allocations: 82.02 kB / 1.262 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.263, allocations: 354.8 kB / 1.263 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/1.263, allocations: 124.7 kB / 1.263 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/1.263, allocations: 182.9 kB / 1.263 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/1.264, allocations: 303.9 kB / 1.263 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.264, allocations: 0 / 1.263 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009591/1.265, allocations: 494.5 kB / 1.264 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.265, allocations: 4 kB / 1.264 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.265, allocations: 4 kB / 1.264 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/1.265, allocations: 84.78 kB / 1.264 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/1.265, allocations: 59.92 kB / 1.264 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/1.267, allocations: 1.915 MB / 1.266 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/1.268, allocations: 16.02 kB / 1.266 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/1.268, allocations: 16 kB / 1.266 GB, free: 7.195 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002521/1.268, allocations: 186 kB / 1.266 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/1.268, allocations: 59.59 kB / 1.266 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/1.268, allocations: 48.62 kB / 1.266 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.268, allocations: 4 kB / 1.266 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.268, allocations: 4.062 kB / 1.266 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.268, allocations: 0 / 1.266 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/1.27, allocations: 0.9681 MB / 1.267 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.27, allocations: 0 / 1.267 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/1.27, allocations: 59.97 kB / 1.267 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/1.27, allocations: 84.72 kB / 1.267 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/1.27, allocations: 11.94 kB / 1.267 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/1.272, allocations: 1.652 MB / 1.269 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.272, allocations: 3.938 kB / 1.269 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.273, allocations: 0.5682 MB / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/1.273, allocations: 152.8 kB / 1.269 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/1.273, allocations: 12 kB / 1.269 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/1.273, allocations: 19.86 kB / 1.269 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/1.274, allocations: 27.91 kB / 1.269 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/1.274, allocations: 8 kB / 1.269 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003701/1.274, allocations: 311.1 kB / 1.27 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.274, allocations: 0 / 1.27 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005767/1.275, allocations: 124 kB / 1.27 GB, free: 2.66 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/1.276, allocations: 434 kB / 1.27 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008147/1.277, allocations: 434.6 kB / 1.271 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.277, allocations: 0 / 1.271 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/1.277, allocations: 246.8 kB / 1.271 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/1.278, allocations: 234.2 kB / 1.271 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/1.28, allocations: 1.019 MB / 1.272 GB, free: 444 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/1.281, allocations: 0.8465 MB / 1.273 GB, free: 15.56 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003663/1.281, allocations: 84.34 kB / 1.273 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/1.281, allocations: 35.44 kB / 1.273 GB, free: 15.44 MB / 1.014 GB Notification: Performance of SimCode: time 7.22e-07/1.281, allocations: 0 / 1.273 GB, free: 15.44 MB / 1.014 GB Notification: Performance of Templates: time 0.0174/1.298, allocations: 8.881 MB / 1.282 GB, free: 6.691 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches