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.518/1.518, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001792/0.001792, allocations: 176.9 kB / 316.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008917/0.0008918, allocations: 82.53 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.13e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.27, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.305, allocations: 381.9 MB / 1.258 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.305, allocations: 90.97 kB / 1.258 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.019/2.324, allocations: 245.2 MB / 1.498 GB, free: 117 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.283e-06/2.324, allocations: 0 / 1.498 GB, free: 117 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.896e-05/2.324, allocations: 23.98 kB / 1.498 GB, free: 117 MB / 0.8698 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.001586/2.326, allocations: 0.9131 MB / 1.499 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/2.326, allocations: 8.031 kB / 1.499 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007616/2.327, allocations: 187 kB / 1.499 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/2.347, allocations: 11.37 MB / 1.51 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003285/2.348, allocations: 80.72 kB / 1.51 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/2.348, allocations: 24 kB / 1.51 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005276/2.348, allocations: 293.5 kB / 1.51 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/2.349, allocations: 408.6 kB / 1.511 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/2.349, allocations: 0 / 1.511 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/2.349, allocations: 11.95 kB / 1.511 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/2.349, allocations: 8 kB / 1.511 GB, free: 103.5 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.002605/2.352, allocations: 2.177 MB / 1.513 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/2.352, allocations: 266.8 kB / 1.513 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/2.352, allocations: 177 kB / 1.513 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/2.353, allocations: 340.7 kB / 1.514 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/2.353, allocations: 246.7 kB / 1.514 GB, free: 100 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/2.353, allocations: 0 / 1.514 GB, free: 100 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001075/2.354, allocations: 474 kB / 1.514 GB, free: 99.54 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/2.354, allocations: 85.09 kB / 1.514 GB, free: 99.44 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/2.354, allocations: 365.4 kB / 1.515 GB, free: 99.08 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/2.355, allocations: 25.7 kB / 1.515 GB, free: 99.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/2.355, allocations: 284.2 kB / 1.515 GB, free: 98.77 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/2.355, allocations: 98.47 kB / 1.515 GB, free: 98.67 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/2.355, allocations: 4 kB / 1.515 GB, free: 98.66 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/2.355, allocations: 362.7 kB / 1.515 GB, free: 98.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/2.355, allocations: 127.7 kB / 1.516 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/2.355, allocations: 219.3 kB / 1.516 GB, free: 97.92 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/2.356, allocations: 163.7 kB / 1.516 GB, free: 97.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.356, allocations: 4 kB / 1.516 GB, free: 97.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008472/2.356, allocations: 497.4 kB / 1.516 GB, free: 97.26 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/2.357, allocations: 0.6453 MB / 1.517 GB, free: 96.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/2.357, allocations: 7.984 kB / 1.517 GB, free: 96.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/2.357, allocations: 48.8 kB / 1.517 GB, free: 96.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/2.357, allocations: 87.88 kB / 1.517 GB, free: 96.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003501/2.358, allocations: 0.5992 MB / 1.518 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/2.358, allocations: 67.7 kB / 1.518 GB, free: 95.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/2.358, allocations: 27.92 kB / 1.518 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/2.358, allocations: 4 kB / 1.518 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007413/2.359, allocations: 432.2 kB / 1.518 GB, free: 95.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/2.359, allocations: 4 kB / 1.518 GB, free: 95.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/2.359, allocations: 45.02 kB / 1.518 GB, free: 95.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/2.36, allocations: 87.88 kB / 1.518 GB, free: 95.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/2.361, allocations: 1.568 MB / 1.52 GB, free: 93.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/2.362, allocations: 71.8 kB / 1.52 GB, free: 93.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/2.362, allocations: 23.94 kB / 1.52 GB, free: 93.34 MB / 0.8698 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 () * 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.0002345/2.362, allocations: 149.6 kB / 1.52 GB, free: 93.18 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/2.362, allocations: 55.34 kB / 1.52 GB, free: 93.13 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/2.363, allocations: 0.5227 MB / 1.521 GB, free: 92.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/2.363, allocations: 4 kB / 1.521 GB, free: 92.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/2.363, allocations: 0 / 1.521 GB, free: 92.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008066/2.364, allocations: 0.671 MB / 1.521 GB, free: 91.85 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/2.366, allocations: 1.145 MB / 1.522 GB, free: 90.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/2.366, allocations: 4 kB / 1.522 GB, free: 90.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/2.366, allocations: 72.05 kB / 1.523 GB, free: 90.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/2.366, allocations: 32.84 kB / 1.523 GB, free: 90.54 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/2.366, allocations: 11.98 kB / 1.523 GB, free: 90.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002724/2.366, allocations: 0.5757 MB / 1.523 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.366, allocations: 4.062 kB / 1.523 GB, free: 89.92 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/2.368, allocations: 0.8388 MB / 1.524 GB, free: 89.04 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/2.368, allocations: 180.3 kB / 1.524 GB, free: 88.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/2.368, allocations: 4 kB / 1.524 GB, free: 88.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/2.368, allocations: 59.94 kB / 1.524 GB, free: 88.78 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/2.368, allocations: 27.92 kB / 1.524 GB, free: 88.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/2.369, allocations: 23.98 kB / 1.524 GB, free: 88.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002721/2.369, allocations: 290.9 kB / 1.525 GB, free: 88.45 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/2.369, allocations: 0 / 1.525 GB, free: 88.45 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001279/2.37, allocations: 367.4 kB / 1.525 GB, free: 88.09 MB / 0.8698 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) * 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.0007727/2.371, allocations: 420.2 kB / 1.525 GB, free: 87.67 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001074/2.372, allocations: 0.812 MB / 1.526 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/2.372, allocations: 0 / 1.526 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002827/2.372, allocations: 263.2 kB / 1.526 GB, free: 86.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/2.373, allocations: 218.8 kB / 1.527 GB, free: 86.34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/2.375, allocations: 0.7423 MB / 1.527 GB, free: 85.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/2.375, allocations: 0.8908 MB / 1.528 GB, free: 84.65 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006082/2.376, allocations: 148 kB / 1.528 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/2.376, allocations: 39.42 kB / 1.528 GB, free: 84.46 MB / 0.8698 GB Notification: Performance of SimCode: time 8.72e-07/2.376, allocations: 0 / 1.528 GB, free: 84.46 MB / 0.8698 GB Notification: Performance of Templates: time 0.01676/2.393, allocations: 11.26 MB / 1.539 GB, free: 73.3 MB / 0.8698 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