Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 174.6 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009239/0.0009239, allocations: 102.3 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 11.38 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2229, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9006/1.124, allocations: 381.7 MB / 1.273 GB, free: 1.504 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/1.124, allocations: 94.39 kB / 1.273 GB, free: 1.453 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.05/2.174, allocations: 247.6 MB / 1.515 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.824e-06/2.174, allocations: 3.938 kB / 1.515 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.923e-05/2.174, allocations: 16 kB / 1.515 GB, free: 240.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002517/2.177, allocations: 1.008 MB / 1.516 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/2.177, allocations: 16.02 kB / 1.516 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/2.178, allocations: 175.6 kB / 1.516 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02263/2.201, allocations: 11.49 MB / 1.527 GB, free: 228 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/2.201, allocations: 96.94 kB / 1.527 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/2.201, allocations: 47.92 kB / 1.527 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/2.202, allocations: 0.4968 MB / 1.528 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/2.202, allocations: 4 kB / 1.528 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/2.202, allocations: 16 kB / 1.528 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/2.202, allocations: 8 kB / 1.528 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009409/2.203, allocations: 430.6 kB / 1.528 GB, free: 226.8 MB / 0.8855 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.003131/2.206, allocations: 2.258 MB / 1.53 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008839/2.207, allocations: 386.9 kB / 1.531 GB, free: 224 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/2.208, allocations: 348.6 kB / 1.531 GB, free: 223.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005305/2.208, allocations: 308.2 kB / 1.531 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/2.208, allocations: 0 / 1.531 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.002018/2.21, allocations: 0.9581 MB / 1.532 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/2.21, allocations: 89.08 kB / 1.532 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/2.211, allocations: 434.2 kB / 1.533 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/2.211, allocations: 33.7 kB / 1.533 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/2.211, allocations: 276.4 kB / 1.533 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/2.211, allocations: 106.4 kB / 1.533 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/2.211, allocations: 8 kB / 1.533 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/2.211, allocations: 366.8 kB / 1.534 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/2.212, allocations: 177.4 kB / 1.534 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/2.212, allocations: 286.8 kB / 1.534 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/2.212, allocations: 233.9 kB / 1.534 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/2.212, allocations: 0 / 1.534 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001181/2.214, allocations: 0.6358 MB / 1.535 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/2.214, allocations: 0.6414 MB / 1.535 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/2.214, allocations: 4.094 kB / 1.535 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/2.214, allocations: 60.72 kB / 1.536 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/2.214, allocations: 87.88 kB / 1.536 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003606/2.215, allocations: 0.5914 MB / 1.536 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006374/2.215, allocations: 87.64 kB / 1.536 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/2.215, allocations: 19.98 kB / 1.536 GB, free: 218 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/2.215, allocations: 9.094 kB / 1.536 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001069/2.217, allocations: 0.5683 MB / 1.537 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/2.217, allocations: 4.156 kB / 1.537 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/2.217, allocations: 48.83 kB / 1.537 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/2.217, allocations: 83.88 kB / 1.537 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/2.218, allocations: 1.631 MB / 1.539 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/2.219, allocations: 83.64 kB / 1.539 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/2.219, allocations: 19.98 kB / 1.539 GB, free: 215.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003506/2.219, allocations: 299.9 kB / 1.539 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-05/2.219, allocations: 59.34 kB / 1.539 GB, free: 215 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/2.221, allocations: 0.6864 MB / 1.54 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/2.221, allocations: 0 / 1.54 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/2.221, allocations: 4 kB / 1.54 GB, free: 214.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/2.222, allocations: 0.8215 MB / 1.541 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/2.224, allocations: 1.322 MB / 1.542 GB, free: 212 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/2.224, allocations: 96 / 1.542 GB, free: 212 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/2.224, allocations: 75.88 kB / 1.542 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/2.224, allocations: 44.81 kB / 1.542 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/2.224, allocations: 16 kB / 1.542 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002416/2.224, allocations: 0.5836 MB / 1.543 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.224, allocations: 0 / 1.543 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/2.226, allocations: 1.043 MB / 1.544 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/2.226, allocations: 192.2 kB / 1.544 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/2.226, allocations: 8 kB / 1.544 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/2.227, allocations: 64 kB / 1.544 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/2.227, allocations: 23.92 kB / 1.544 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/2.227, allocations: 23.98 kB / 1.544 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003122/2.227, allocations: 346.8 kB / 1.544 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.21e-07/2.227, allocations: 0 / 1.544 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001235/2.228, allocations: 379.3 kB / 1.545 GB, free: 209.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007567/2.229, allocations: 438.5 kB / 1.545 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001699/2.231, allocations: 0.9791 MB / 1.546 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.231, allocations: 0 / 1.546 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004895/2.231, allocations: 328.1 kB / 1.546 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/2.233, allocations: 234 kB / 1.546 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/2.234, allocations: 1.334 MB / 1.548 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/2.235, allocations: 0.8861 MB / 1.549 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005024/2.235, allocations: 132.3 kB / 1.549 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/2.235, allocations: 47.42 kB / 1.549 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of SimCode: time 8.51e-07/2.235, allocations: 0 / 1.549 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.01713/2.252, allocations: 11.91 MB / 1.56 GB, free: 192.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_ConservationEquation.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches