Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.sta_a.T|pla.sta_b.T|pla.QCoo_flow|pla.QHea_flow|hea1.Q_flow|hea2.Q_flow|coo1.Q_flow|coo2.Q_flow|pla.m_flow|hea1.m_flow|hea2.m_flow|coo1.m_flow|coo2.m_flow",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.sta_a.T|pla.sta_b.T|pla.QCoo_flow|pla.QHea_flow|hea1.Q_flow|hea2.Q_flow|coo1.Q_flow|coo2.Q_flow|pla.m_flow|hea1.m_flow|hea2.m_flow|coo1.m_flow|coo2.m_flow",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 189 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 223.2 MB / 0.7948 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009949/0.000995, allocations: 92.33 kB / 0.9346 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003904, allocations: 9.609 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3305, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/1.591, allocations: 484.7 MB / 1.696 GB, free: 13.94 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003954/1.591, allocations: 96.27 kB / 1.696 GB, free: 13.89 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 25.73/27.32, allocations: 5.511 GB / 7.207 GB, free: 79.61 MB / 1.432 GB Notification: Performance of FrontEnd: time 3.216e-06/27.32, allocations: 0 / 7.207 GB, free: 79.61 MB / 1.432 GB Notification: Performance of Transformations before backend: time 0.004093/27.32, allocations: 332.6 kB / 7.207 GB, free: 79.55 MB / 1.432 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.0747/27.4, allocations: 13.8 MB / 7.221 GB, free: 74.09 MB / 1.432 GB Notification: Performance of prepare preOptimizeDAE: time 7.063e-05/27.4, allocations: 10.47 kB / 7.221 GB, free: 74.09 MB / 1.432 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02205/27.42, allocations: 2.837 MB / 7.223 GB, free: 73.37 MB / 1.432 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08204/27.5, allocations: 20.26 MB / 7.243 GB, free: 71.31 MB / 1.432 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001169/27.5, allocations: 0.5559 MB / 7.244 GB, free: 71.3 MB / 1.432 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004516/27.51, allocations: 0.7275 MB / 7.244 GB, free: 71.29 MB / 1.432 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03831/27.55, allocations: 8.713 MB / 7.253 GB, free: 70.08 MB / 1.432 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007708/27.55, allocations: 24.69 kB / 7.253 GB, free: 70.08 MB / 1.432 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00403/27.55, allocations: 308.1 kB / 7.253 GB, free: 70.08 MB / 1.432 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005519/27.55, allocations: 282.5 kB / 7.254 GB, free: 70.06 MB / 1.432 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02452/27.58, allocations: 6.559 MB / 7.26 GB, free: 70 MB / 1.432 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.1019/27.68, allocations: 46.37 MB / 7.305 GB, free: 44.27 MB / 1.432 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/27.69, allocations: 4.203 MB / 7.309 GB, free: 44.19 MB / 1.432 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03168/27.72, allocations: 9.622 MB / 7.319 GB, free: 40.5 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008421/27.73, allocations: 2.279 MB / 7.321 GB, free: 40.39 MB / 1.432 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01083/27.74, allocations: 0.6246 MB / 7.322 GB, free: 40.21 MB / 1.432 GB Notification: Performance of pre-optimization done (n=341): time 5.212e-05/27.74, allocations: 3.375 kB / 7.322 GB, free: 40.21 MB / 1.432 GB Notification: Performance of matching and sorting (n=341): time 0.02598/27.77, allocations: 7.403 MB / 7.329 GB, free: 38.48 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/27.77, allocations: 86.88 kB / 7.329 GB, free: 38.41 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03035/27.8, allocations: 8.41 MB / 7.337 GB, free: 37.82 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.001621/27.8, allocations: 120.2 kB / 7.337 GB, free: 37.79 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.01142/27.81, allocations: 5.581 MB / 7.343 GB, free: 36.24 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.003491/27.81, allocations: 1.185 MB / 7.344 GB, free: 35.49 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001446/27.82, allocations: 94.66 kB / 7.344 GB, free: 35.49 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.0007134/27.82, allocations: 498.2 kB / 7.344 GB, free: 35.18 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006032/27.82, allocations: 1.787 MB / 7.346 GB, free: 35.16 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00705/27.83, allocations: 3.913 MB / 7.35 GB, free: 32.56 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006272/27.84, allocations: 2.369 MB / 7.352 GB, free: 32.5 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.273e-05/27.84, allocations: 13.34 kB / 7.352 GB, free: 32.5 MB / 1.432 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.0229/27.86, allocations: 6.616 MB / 7.359 GB, free: 31.78 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 0.01508/27.87, allocations: 31.53 MB / 7.39 GB, free: 30.6 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003/27.87, allocations: 55.08 kB / 7.39 GB, free: 30.6 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/27.88, allocations: 0.5311 MB / 7.39 GB, free: 30.52 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006928/27.88, allocations: 1.157 MB / 7.391 GB, free: 30.52 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009912/27.89, allocations: 8.365 MB / 7.399 GB, free: 23.71 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01531/27.91, allocations: 0.7486 MB / 7.4 GB, free: 23.65 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002099/27.91, allocations: 272.8 kB / 7.4 GB, free: 23.65 MB / 1.464 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/27.91, allocations: 6.734 kB / 7.4 GB, free: 23.64 MB / 1.464 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01923/27.93, allocations: 5.552 MB / 7.406 GB, free: 23.47 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002931/27.93, allocations: 51.03 kB / 7.406 GB, free: 23.47 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/27.93, allocations: 0.5332 MB / 7.406 GB, free: 23.39 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005603/27.94, allocations: 1.121 MB / 7.408 GB, free: 23.39 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006992/27.95, allocations: 8.359 MB / 7.416 GB, free: 16.57 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0135/27.96, allocations: 0.7314 MB / 7.416 GB, free: 16.52 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/27.96, allocations: 257.7 kB / 7.417 GB, free: 16.52 MB / 1.464 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (582): * Single equations (assignments): 568 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01154/27.97, allocations: 2.583 MB / 7.419 GB, free: 16.3 MB / 1.464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005539/27.98, allocations: 0.9933 MB / 7.42 GB, free: 15.77 MB / 1.464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02296/28, allocations: 5.625 MB / 7.426 GB, free: 15.4 MB / 1.464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.241e-05/28, allocations: 36.84 kB / 7.426 GB, free: 15.4 MB / 1.464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.709e-05/28, allocations: 0 / 7.426 GB, free: 15.4 MB / 1.464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01204/28.01, allocations: 4.034 MB / 7.43 GB, free: 15.16 MB / 1.464 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.0573/28.07, allocations: 12.98 MB / 7.442 GB, free: 30.39 MB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/28.07, allocations: 4.891 kB / 7.442 GB, free: 30.39 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004354/28.07, allocations: 0.7466 MB / 7.443 GB, free: 30.39 MB / 1.479 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/28.08, allocations: 457.9 kB / 7.443 GB, free: 30.31 MB / 1.479 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/28.08, allocations: 118.3 kB / 7.444 GB, free: 30.31 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007375/28.09, allocations: 8.258 MB / 7.452 GB, free: 23.5 MB / 1.479 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/28.09, allocations: 6.812 kB / 7.452 GB, free: 23.5 MB / 1.479 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02556/28.11, allocations: 7.751 MB / 7.459 GB, free: 22.37 MB / 1.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01138/28.12, allocations: 1.752 MB / 7.461 GB, free: 21.73 MB / 1.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006179/28.13, allocations: 74.56 kB / 7.461 GB, free: 21.73 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01347/28.14, allocations: 0.6753 MB / 7.462 GB, free: 21.64 MB / 1.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001365/28.14, allocations: 232.5 kB / 7.462 GB, free: 21.64 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00161/28.15, allocations: 196.7 kB / 7.462 GB, free: 21.64 MB / 1.479 GB Notification: Performance of sorting global known variables: time 0.02562/28.17, allocations: 6.468 MB / 7.468 GB, free: 21.36 MB / 1.479 GB Notification: Performance of sort global known variables: time 5.91e-07/28.17, allocations: 0 / 7.468 GB, free: 21.36 MB / 1.479 GB Notification: Performance of remove unused functions: time 0.0392/28.21, allocations: 5.828 MB / 7.474 GB, free: 20.49 MB / 1.479 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 313 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01629/28.23, allocations: 6.827 MB / 7.481 GB, free: 17 MB / 1.479 GB Notification: Performance of simCode: created initialization part: time 0.02654/28.25, allocations: 8.08 MB / 7.489 GB, free: 16.36 MB / 1.479 GB Notification: Performance of simCode: created event and clocks part: time 2.561e-05/28.25, allocations: 3.188 kB / 7.489 GB, free: 16.36 MB / 1.479 GB Notification: Performance of simCode: created simulation system equations: time 0.008282/28.26, allocations: 2.445 MB / 7.491 GB, free: 16.09 MB / 1.479 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03158/28.29, allocations: 4.809 MB / 7.496 GB, free: 15.87 MB / 1.479 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06788/28.36, allocations: 22.07 MB / 7.517 GB, free: 5.809 MB / 1.479 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02258/28.38, allocations: 5.678 MB / 7.523 GB, free: 4.758 MB / 1.479 GB Notification: Performance of simCode: alias equations: time 0.02459/28.41, allocations: 2.629 MB / 7.525 GB, free: 4.375 MB / 1.479 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005633/28.41, allocations: 0.7598 MB / 7.526 GB, free: 4.363 MB / 1.479 GB Notification: Performance of SimCode: time 1.983e-06/28.41, allocations: 0 / 7.526 GB, free: 4.363 MB / 1.479 GB Notification: Performance of Templates: time 1.945/30.36, allocations: 210 MB / 7.731 GB, free: 152.8 MB / 1.51 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches