Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.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.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senPPMTwoPort.ppm|senPPMNoRev.ppm|senPPMVol.ppm|senPPMRev.ppm|senPPMSta.ppm|senPPMIn.ppm|senPPMVol2.ppm",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senPPMTwoPort.ppm|senPPMNoRev.ppm|senPPMVol.ppm|senPPMRev.ppm|senPPMSta.ppm|senPPMIn.ppm|senPPMVol2.ppm",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.3 MB / 261.8 MB, free: 5.914 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.001141/0.001141, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.1 MB / 0.572 GB, free: 10.67 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.001007/0.001007, allocations: 92.2 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.687e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2662, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.923/6.189, allocations: 2.211 GB / 3.103 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/6.19, allocations: 88.47 kB / 3.103 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.495/10.69, allocations: 1.243 GB / 4.346 GB, free: 131.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.733e-06/10.69, allocations: 4.688 kB / 4.346 GB, free: 131.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001326/10.69, allocations: 49.5 kB / 4.346 GB, free: 131.3 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004806/10.69, allocations: 1.81 MB / 4.348 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/10.69, allocations: 10.94 kB / 4.348 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/10.69, allocations: 376.5 kB / 4.349 GB, free: 130.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/10.69, allocations: 1.143 MB / 4.35 GB, free: 130.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.68e-05/10.7, allocations: 102.7 kB / 4.35 GB, free: 130.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/10.7, allocations: 131.9 kB / 4.35 GB, free: 130.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/10.7, allocations: 1.521 MB / 4.351 GB, free: 130 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/10.7, allocations: 3.469 kB / 4.351 GB, free: 130 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/10.7, allocations: 51.84 kB / 4.351 GB, free: 130 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/10.7, allocations: 50.41 kB / 4.351 GB, free: 130 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/10.7, allocations: 1.198 MB / 4.353 GB, free: 130 MB / 0.9011 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.007844/10.71, allocations: 6.558 MB / 4.359 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009578/10.71, allocations: 0.7468 MB / 4.36 GB, free: 126.6 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/10.71, allocations: 418.7 kB / 4.36 GB, free: 126.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/10.71, allocations: 410.9 kB / 4.361 GB, free: 126.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/10.71, allocations: 43.28 kB / 4.361 GB, free: 126.2 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=73): time 2.735e-06/10.71, allocations: 0 / 4.361 GB, free: 126.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=73): time 0.001985/10.71, allocations: 0.954 MB / 4.362 GB, free: 126.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/10.71, allocations: 59.81 kB / 4.362 GB, free: 126 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/10.71, allocations: 1.085 MB / 4.363 GB, free: 125.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.106e-05/10.71, allocations: 43.48 kB / 4.363 GB, free: 125.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/10.71, allocations: 0.6851 MB / 4.363 GB, free: 125.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/10.71, allocations: 276 kB / 4.364 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/10.71, allocations: 19.28 kB / 4.364 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/10.71, allocations: 346.1 kB / 4.364 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/10.71, allocations: 330.1 kB / 4.364 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/10.72, allocations: 0.6999 MB / 4.365 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/10.72, allocations: 457.5 kB / 4.365 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/10.72, allocations: 3.969 kB / 4.365 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00177/10.72, allocations: 1.234 MB / 4.367 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/10.72, allocations: 7.562 kB / 4.367 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/10.72, allocations: 13.16 kB / 4.367 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/10.72, allocations: 149.2 kB / 4.367 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/10.72, allocations: 200.1 kB / 4.367 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/10.72, allocations: 4.784 MB / 4.372 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/10.72, allocations: 191.5 kB / 4.372 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/10.72, allocations: 44.53 kB / 4.372 GB, free: 120.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002513/10.72, allocations: 180 kB / 4.372 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/10.72, allocations: 145 kB / 4.372 GB, free: 120.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/10.73, allocations: 1.055 MB / 4.373 GB, free: 120.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/10.73, allocations: 7.656 kB / 4.373 GB, free: 120.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/10.73, allocations: 0 / 4.373 GB, free: 120.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/10.73, allocations: 0.9365 MB / 4.374 GB, free: 119.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/10.73, allocations: 2.384 MB / 4.376 GB, free: 119.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/10.73, allocations: 1.594 kB / 4.376 GB, free: 119.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/10.73, allocations: 132.4 kB / 4.377 GB, free: 119.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003153/10.73, allocations: 138.2 kB / 4.377 GB, free: 119.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/10.73, allocations: 20.84 kB / 4.377 GB, free: 119.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/10.73, allocations: 4.765 MB / 4.381 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/10.73, allocations: 3.5 kB / 4.381 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/10.74, allocations: 1.655 MB / 4.383 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008106/10.74, allocations: 322.7 kB / 4.383 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/10.74, allocations: 17.03 kB / 4.383 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008602/10.74, allocations: 71.08 kB / 4.383 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/10.74, allocations: 59.95 kB / 4.383 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/10.74, allocations: 29.38 kB / 4.383 GB, free: 114.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001317/10.74, allocations: 0.8499 MB / 4.384 GB, free: 114.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/10.74, allocations: 0 / 4.384 GB, free: 114.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002724/10.74, allocations: 0.6718 MB / 4.385 GB, free: 114.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00359/10.75, allocations: 2.424 MB / 4.387 GB, free: 113.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002063/10.75, allocations: 1.164 MB / 4.388 GB, free: 113.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/10.75, allocations: 0 / 4.388 GB, free: 113.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007921/10.75, allocations: 0.7141 MB / 4.389 GB, free: 113 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004173/10.75, allocations: 0.8388 MB / 4.39 GB, free: 113 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/10.76, allocations: 2.133 MB / 4.392 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007771/10.76, allocations: 1.376 MB / 4.393 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001398/10.76, allocations: 350.6 kB / 4.394 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/10.76, allocations: 107.9 kB / 4.394 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.182e-06/10.76, allocations: 0 / 4.394 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.08601/10.85, allocations: 61.77 MB / 4.454 GB, free: 109.1 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_PPM.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches