Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.68/2.68, allocations: 390.5 MB / 398 MB, free: 10.94 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.001609/0.001609, allocations: 172.9 kB / 491.2 MB, free: 1.547 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.844/1.844, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001104/0.001104, allocations: 92.52 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.954e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3456, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.37/6.716, allocations: 2.155 GB / 3.367 GB, free: 147.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/6.716, allocations: 83.95 kB / 3.367 GB, free: 147.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.075/9.791, allocations: 0.6516 GB / 4.019 GB, free: 261.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.874e-06/9.791, allocations: 3.344 kB / 4.019 GB, free: 261.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001613/9.791, allocations: 37.77 kB / 4.019 GB, free: 261.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005489/9.796, allocations: 1.477 MB / 4.02 GB, free: 260.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/9.796, allocations: 10.78 kB / 4.02 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/9.8, allocations: 0.5358 MB / 4.021 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03084/9.831, allocations: 13.12 MB / 4.034 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001223/9.832, allocations: 290.6 kB / 4.034 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004039/9.832, allocations: 38.78 kB / 4.034 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001904/9.834, allocations: 0.722 MB / 4.035 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/9.836, allocations: 0.902 MB / 4.036 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/9.836, allocations: 0 / 4.036 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/9.837, allocations: 7.578 kB / 4.036 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/9.837, allocations: 35.05 kB / 4.036 GB, free: 260 MB / 1.151 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.006877/9.844, allocations: 3.114 MB / 4.039 GB, free: 259.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/9.844, allocations: 0.5641 MB / 4.039 GB, free: 259.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/9.845, allocations: 349.2 kB / 4.04 GB, free: 259.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007992/9.846, allocations: 1.026 MB / 4.041 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006539/9.846, allocations: 471.4 kB / 4.041 GB, free: 257.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 3.046e-06/9.846, allocations: 0 / 4.041 GB, free: 257.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.00204/9.848, allocations: 0.7889 MB / 4.042 GB, free: 257.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/9.849, allocations: 136.7 kB / 4.042 GB, free: 257.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009306/9.849, allocations: 0.6454 MB / 4.043 GB, free: 257.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/9.85, allocations: 25.7 kB / 4.043 GB, free: 257.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/9.85, allocations: 460.1 kB / 4.043 GB, free: 257.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/9.85, allocations: 185.8 kB / 4.043 GB, free: 257.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/9.85, allocations: 1.594 kB / 4.043 GB, free: 257.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/9.85, allocations: 336.6 kB / 4.044 GB, free: 257 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/9.851, allocations: 300 kB / 4.044 GB, free: 257 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/9.851, allocations: 0.4926 MB / 4.044 GB, free: 256.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/9.852, allocations: 400.2 kB / 4.045 GB, free: 256.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/9.852, allocations: 0 / 4.045 GB, free: 256.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001735/9.854, allocations: 0.9185 MB / 4.046 GB, free: 256.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/9.854, allocations: 42.56 kB / 4.046 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/9.854, allocations: 3.812 kB / 4.046 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/9.854, allocations: 7.656 kB / 4.046 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000996/9.855, allocations: 213.6 kB / 4.046 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/9.855, allocations: 9.672 kB / 4.046 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/9.857, allocations: 263.4 kB / 4.046 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/9.857, allocations: 48.73 kB / 4.046 GB, free: 256.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (67): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002478/9.857, allocations: 159.9 kB / 4.046 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/9.857, allocations: 95.19 kB / 4.046 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/9.859, allocations: 0.8497 MB / 4.047 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/9.859, allocations: 7.469 kB / 4.047 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/9.859, allocations: 0 / 4.047 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/9.859, allocations: 3.516 kB / 4.047 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/9.863, allocations: 2.951 MB / 4.05 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/9.863, allocations: 10.84 kB / 4.05 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/9.864, allocations: 127.2 kB / 4.05 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/9.864, allocations: 11.22 kB / 4.05 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/9.864, allocations: 20.28 kB / 4.05 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/9.864, allocations: 14 kB / 4.05 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/9.864, allocations: 17.03 kB / 4.05 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/9.866, allocations: 1.571 MB / 4.052 GB, free: 254.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/9.866, allocations: 307.5 kB / 4.052 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/9.866, allocations: 11.16 kB / 4.052 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/9.867, allocations: 124.7 kB / 4.052 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/9.868, allocations: 54.17 kB / 4.052 GB, free: 254.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/9.868, allocations: 47.48 kB / 4.052 GB, free: 254.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005556/9.868, allocations: 0.499 MB / 4.053 GB, free: 254.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.41e-07/9.868, allocations: 0 / 4.053 GB, free: 254.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001537/9.87, allocations: 410.6 kB / 4.053 GB, free: 254.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002493/9.872, allocations: 1.749 MB / 4.055 GB, free: 254 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001215/9.874, allocations: 0.7938 MB / 4.056 GB, free: 253.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/9.874, allocations: 2.516 kB / 4.056 GB, free: 253.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005079/9.874, allocations: 459.7 kB / 4.056 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/9.876, allocations: 360.7 kB / 4.056 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/9.879, allocations: 1.484 MB / 4.058 GB, free: 253.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/9.879, allocations: 1.09 MB / 4.059 GB, free: 252.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00105/9.881, allocations: 242 kB / 4.059 GB, free: 252.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/9.881, allocations: 76.52 kB / 4.059 GB, free: 252.5 MB / 1.151 GB Notification: Performance of SimCode: time 3.61e-07/9.881, allocations: 0 / 4.059 GB, free: 252.5 MB / 1.151 GB Notification: Performance of Templates: time 0.039/9.92, allocations: 23.08 MB / 4.082 GB, free: 251.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches