Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.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_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.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_latest_Buildings.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.001635/0.001635, allocations: 111.4 kB / 15.99 MB, free: 5.914 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.00181/0.00181, allocations: 187.3 kB / 16.91 MB, free: 5.758 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.809/2.809, allocations: 469.4 MB / 0.7423 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 60.94 kB / 0.9083 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3456, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.8302/1.176, allocations: 187.5 MB / 1.247 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03499/1.211, allocations: 26.03 MB / 1.272 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003507/1.214, allocations: 59.62 kB / 1.272 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0112/1.226, allocations: 4.854 MB / 1.277 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/1.238, allocations: 3.567 MB / 1.281 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005867/1.243, allocations: 1.937 MB / 1.282 GB, free: 9.445 MB / 0.9981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.845688257445312e-05}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01115/1.255, allocations: 7.687 MB / 1.29 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/1.257, allocations: 1.581 MB / 1.292 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005765/1.263, allocations: 2.165 MB / 1.294 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/1.266, allocations: 1.439 MB / 1.295 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006511/1.267, allocations: 200 kB / 1.295 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/1.277, allocations: 4.575 MB / 1.3 GB, free: 7.734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/1.278, allocations: 0.6698 MB / 1.3 GB, free: 7.062 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002638/1.281, allocations: 1.217 MB / 1.302 GB, free: 5.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007631/1.288, allocations: 4.335 MB / 1.306 GB, free: 1.496 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.288, allocations: 0 / 1.306 GB, free: 1.496 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.804e-06/1.289, allocations: 0 / 1.306 GB, free: 1.496 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001138/1.289, allocations: 0 / 1.306 GB, free: 1.496 MB / 1.014 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.007773/1.296, allocations: 2.794 MB / 1.309 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.296, allocations: 12.62 kB / 1.309 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004738/1.301, allocations: 0.6412 MB / 1.309 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005918/1.307, allocations: 2.797 MB / 1.312 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/1.307, allocations: 90.09 kB / 1.312 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004388/1.308, allocations: 115.9 kB / 1.312 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/1.311, allocations: 1.342 MB / 1.313 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/1.311, allocations: 7.875 kB / 1.313 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/1.311, allocations: 44 kB / 1.313 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/1.312, allocations: 38 kB / 1.313 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/1.315, allocations: 1.151 MB / 1.315 GB, free: 8.27 MB / 1.029 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.01065/1.325, allocations: 6.612 MB / 1.321 GB, free: 1.281 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/1.327, allocations: 0.8171 MB / 1.322 GB, free: 448 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/1.328, allocations: 400.1 kB / 1.322 GB, free: 40 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007059/1.335, allocations: 2.799 MB / 1.325 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/1.337, allocations: 0.5027 MB / 1.325 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009522/1.338, allocations: 103 kB / 1.326 GB, free: 12.37 MB / 1.045 GB Notification: Performance of pre-optimization done (n=71): time 6.733e-06/1.338, allocations: 0 / 1.326 GB, free: 12.37 MB / 1.045 GB Notification: Performance of matching and sorting (n=85): time 0.05311/1.391, allocations: 18.52 MB / 1.344 GB, free: 9.785 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.391, allocations: 171.2 kB / 1.344 GB, free: 9.582 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/1.395, allocations: 1.958 MB / 1.346 GB, free: 7.582 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/1.395, allocations: 49.64 kB / 1.346 GB, free: 7.527 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009945/1.396, allocations: 0.8577 MB / 1.347 GB, free: 6.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003903/1.396, allocations: 311.7 kB / 1.347 GB, free: 6.352 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006655/1.397, allocations: 335.3 kB / 1.347 GB, free: 6.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.397, allocations: 305.1 kB / 1.348 GB, free: 5.719 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.398, allocations: 0.652 MB / 1.348 GB, free: 5.066 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/1.4, allocations: 1.062 MB / 1.349 GB, free: 3.852 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/1.403, allocations: 1.631 MB / 1.351 GB, free: 2.074 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/1.403, allocations: 4 kB / 1.351 GB, free: 2.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004903/1.408, allocations: 2.117 MB / 1.353 GB, free: 15.94 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/1.408, allocations: 8 kB / 1.353 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/1.408, allocations: 12 kB / 1.353 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008077/1.409, allocations: 221.8 kB / 1.353 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.41, allocations: 319.5 kB / 1.353 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/1.416, allocations: 4.236 MB / 1.358 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.418, allocations: 156.2 kB / 1.358 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/1.418, allocations: 67.97 kB / 1.358 GB, free: 10.66 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.001274/1.419, allocations: 0.5598 MB / 1.358 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008577/1.42, allocations: 209.4 kB / 1.358 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004339/1.425, allocations: 1.522 MB / 1.36 GB, free: 8.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.425, allocations: 8 kB / 1.36 GB, free: 8.332 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.425, allocations: 0 / 1.36 GB, free: 8.332 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00287/1.428, allocations: 1.289 MB / 1.361 GB, free: 6.969 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02546/1.453, allocations: 9.254 MB / 1.37 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.453, allocations: 4 kB / 1.37 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009123/1.454, allocations: 188 kB / 1.37 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005812/1.455, allocations: 156.7 kB / 1.371 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.455, allocations: 35.98 kB / 1.371 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/1.458, allocations: 2.384 MB / 1.373 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.458, allocations: 4 kB / 1.373 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004812/1.463, allocations: 1.936 MB / 1.375 GB, free: 8.438 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.464, allocations: 390.6 kB / 1.375 GB, free: 8.035 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005974/1.465, allocations: 35.89 kB / 1.375 GB, free: 8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/1.467, allocations: 119.9 kB / 1.375 GB, free: 7.883 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/1.467, allocations: 80.44 kB / 1.375 GB, free: 7.805 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.467, allocations: 39.98 kB / 1.375 GB, free: 7.766 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002986/1.47, allocations: 1.363 MB / 1.377 GB, free: 6.383 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.9e-07/1.47, allocations: 0 / 1.377 GB, free: 6.383 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005742/1.476, allocations: 1.375 MB / 1.378 GB, free: 5.008 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 (bui.IntEHea.y,bui.pumCNR.port_a.h_outflow,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 (86): * Single equations (assignments): 83 * 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.008187/1.484, allocations: 1.306 MB / 1.379 GB, free: 3.867 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004952/1.489, allocations: 1.731 MB / 1.381 GB, free: 2.105 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.489, allocations: 3.938 kB / 1.381 GB, free: 2.102 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/1.491, allocations: 0.6647 MB / 1.382 GB, free: 1.426 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005623/1.497, allocations: 0.9504 MB / 1.383 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009664/1.506, allocations: 4.522 MB / 1.387 GB, free: 11.88 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/1.508, allocations: 1.495 MB / 1.389 GB, free: 10.36 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008735/1.509, allocations: 175.4 kB / 1.389 GB, free: 10.18 MB / 1.107 GB Notification: Performance of SimCode: time 1.192e-06/1.509, allocations: 0 / 1.389 GB, free: 10.18 MB / 1.107 GB Notification: Performance of Templates: time 0.1012/1.61, allocations: 66.47 MB / 1.454 GB, free: 8.098 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.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