Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.sta_a.T|bui.vol.sta_b.T|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.steTra.port_a.h_outflow|bui.steTra.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.sta_a.T|bui.vol.sta_b.T|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.steTra.port_a.h_outflow|bui.steTra.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 103.7 kB / 16.27 MB, free: 5.973 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.001545/0.001545, allocations: 188.6 kB / 17.2 MB, free: 5.598 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.462/1.462, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437.1 MB / 0.7111 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.27 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3512, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.7946/1.146, allocations: 189.9 MB / 1.203 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04252/1.188, allocations: 26.04 MB / 1.229 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/1.192, allocations: 62.19 kB / 1.229 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01218/1.204, allocations: 4.936 MB / 1.234 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/1.217, allocations: 3.865 MB / 1.238 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006495/1.223, allocations: 2.117 MB / 1.24 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01278/1.236, allocations: 7.413 MB / 1.247 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00346/1.24, allocations: 1.537 MB / 1.248 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006831/1.246, allocations: 2.305 MB / 1.251 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/1.249, allocations: 1.358 MB / 1.252 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005743/1.25, allocations: 196 kB / 1.252 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/1.261, allocations: 4.533 MB / 1.257 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/1.262, allocations: 0.6542 MB / 1.257 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/1.264, allocations: 1.205 MB / 1.258 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01233/1.277, allocations: 5.712 MB / 1.264 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.277, allocations: 0 / 1.264 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/1.277, allocations: 0 / 1.264 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.05e-05/1.277, allocations: 0 / 1.264 GB, free: 13.48 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.007104/1.284, allocations: 2.796 MB / 1.267 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.284, allocations: 12.88 kB / 1.267 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/1.288, allocations: 0.6451 MB / 1.267 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/1.294, allocations: 2.781 MB / 1.27 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/1.294, allocations: 94.03 kB / 1.27 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/1.295, allocations: 116 kB / 1.27 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/1.298, allocations: 1.332 MB / 1.272 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/1.298, allocations: 11.86 kB / 1.272 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/1.298, allocations: 44 kB / 1.272 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/1.298, allocations: 38 kB / 1.272 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/1.301, allocations: 1.124 MB / 1.273 GB, free: 4.277 MB / 0.9669 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.01086/1.312, allocations: 6.797 MB / 1.279 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/1.314, allocations: 0.8716 MB / 1.28 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008905/1.315, allocations: 392 kB / 1.281 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007785/1.323, allocations: 2.802 MB / 1.283 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/1.324, allocations: 0.4897 MB / 1.284 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=69): time 2.625e-06/1.324, allocations: 4 kB / 1.284 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.05693/1.381, allocations: 18.75 MB / 1.302 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.381, allocations: 174.9 kB / 1.302 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/1.385, allocations: 1.978 MB / 1.304 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/1.385, allocations: 45.7 kB / 1.304 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009533/1.386, allocations: 0.8732 MB / 1.305 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/1.386, allocations: 295.8 kB / 1.305 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005444/1.387, allocations: 335.3 kB / 1.306 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.387, allocations: 305.1 kB / 1.306 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/1.388, allocations: 0.6481 MB / 1.307 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/1.39, allocations: 1.066 MB / 1.308 GB, free: 15.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/1.393, allocations: 1.629 MB / 1.309 GB, free: 13.67 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/1.393, allocations: 4 kB / 1.309 GB, free: 13.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.005055/1.398, allocations: 2.108 MB / 1.311 GB, free: 11.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/1.398, allocations: 8 kB / 1.311 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/1.398, allocations: 15.98 kB / 1.311 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008241/1.399, allocations: 221.9 kB / 1.312 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.4, allocations: 319.5 kB / 1.312 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005581/1.406, allocations: 4.151 MB / 1.316 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/1.408, allocations: 119 kB / 1.316 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/1.408, allocations: 79.89 kB / 1.316 GB, free: 6.355 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 158 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001151/1.409, allocations: 0.5578 MB / 1.317 GB, free: 5.789 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006736/1.41, allocations: 193.6 kB / 1.317 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/1.414, allocations: 1.486 MB / 1.318 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/1.414, allocations: 12 kB / 1.318 GB, free: 4.121 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.414, allocations: 0 / 1.318 GB, free: 4.121 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002868/1.417, allocations: 1.261 MB / 1.319 GB, free: 2.785 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02711/1.444, allocations: 9.22 MB / 1.329 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.444, allocations: 8 kB / 1.329 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008863/1.445, allocations: 180.4 kB / 1.329 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005843/1.446, allocations: 156.7 kB / 1.329 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/1.446, allocations: 39.92 kB / 1.329 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/1.45, allocations: 2.366 MB / 1.331 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.45, allocations: 7.938 kB / 1.331 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004712/1.454, allocations: 1.88 MB / 1.333 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.455, allocations: 402.5 kB / 1.333 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/1.456, allocations: 27.98 kB / 1.333 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.457, allocations: 79.92 kB / 1.334 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/1.457, allocations: 76.3 kB / 1.334 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.395e-05/1.457, allocations: 39.98 kB / 1.334 GB, free: 3.727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002743/1.46, allocations: 1.375 MB / 1.335 GB, free: 2.332 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.46, allocations: 0 / 1.335 GB, free: 2.332 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00596/1.466, allocations: 1.371 MB / 1.336 GB, free: 0.9609 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.filter.s[1],bui.pumCNR.filter.s[2],bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007431/1.473, allocations: 1.318 MB / 1.338 GB, free: 15.8 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004755/1.478, allocations: 1.699 MB / 1.339 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.478, allocations: 0 / 1.339 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/1.48, allocations: 0.6409 MB / 1.34 GB, free: 13.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004674/1.485, allocations: 0.9609 MB / 1.341 GB, free: 12.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/1.492, allocations: 3.846 MB / 1.345 GB, free: 8.551 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/1.494, allocations: 1.495 MB / 1.346 GB, free: 7.023 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007544/1.494, allocations: 175.4 kB / 1.346 GB, free: 6.852 MB / 1.045 GB Notification: Performance of SimCode: time 1.774e-06/1.494, allocations: 0 / 1.346 GB, free: 6.852 MB / 1.045 GB Notification: Performance of Templates: time 0.1059/1.6, allocations: 66.69 MB / 1.411 GB, free: 4.566 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bui.Q_flow,bui.vol.m_flow,bui.vol.sta_a.T,bui.vol.sta_b.T,bui.sta_a.p,bui.vol.sta_a.p,bui.vol.sta_b.p,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.steTra.port_a.h_outflow,bui.steTra.port_b.h_outflow Variables in the result:bui.Q_flow,bui.sta_a.p,bui.steTra.port_a.h_outflow,bui.steTra.port_b.h_outflow,bui.vol.m_flow,bui.vol.port_a.h_outflow,bui.vol.port_b.h_outflow,bui.vol.sta_a.T,bui.vol.sta_a.p,bui.vol.sta_b.T,bui.vol.sta_b.p,time