Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.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.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_9_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_9_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.11/2.11, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001124/0.001124, allocations: 192.6 kB / 487.4 MB, free: 5.047 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.307/1.307, allocations: 221.5 MB / 0.7824 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009748/0.0009749, allocations: 87.75 kB / 0.9219 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.651e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2303, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.624/4.854, allocations: 1.938 GB / 3.144 GB, free: 413.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/4.854, allocations: 83.95 kB / 3.144 GB, free: 413.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.51/9.364, allocations: 1.286 GB / 4.43 GB, free: 207.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.883e-06/9.365, allocations: 0 / 4.43 GB, free: 207.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002704/9.365, allocations: 43.48 kB / 4.43 GB, free: 207.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.006123/9.371, allocations: 1.839 MB / 4.432 GB, free: 207.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/9.371, allocations: 9.406 kB / 4.432 GB, free: 207.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/9.374, allocations: 391.1 kB / 4.432 GB, free: 207.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/9.377, allocations: 1.14 MB / 4.433 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/9.378, allocations: 42.81 kB / 4.433 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/9.378, allocations: 81.92 kB / 4.433 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002729/9.381, allocations: 1.119 MB / 4.435 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/9.383, allocations: 1.323 MB / 4.436 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/9.383, allocations: 0 / 4.436 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/9.384, allocations: 3.875 kB / 4.436 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/9.384, allocations: 46.83 kB / 4.436 GB, free: 206.7 MB / 1.167 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.007366/9.391, allocations: 6.25 MB / 4.442 GB, free: 203.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/9.392, allocations: 0.8822 MB / 4.443 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/9.393, allocations: 430 kB / 4.443 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/9.393, allocations: 416.9 kB / 4.444 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/9.393, allocations: 40.81 kB / 4.444 GB, free: 203 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/9.393, allocations: 2.031 kB / 4.444 GB, free: 203 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.00526/9.399, allocations: 2.496 MB / 4.446 GB, free: 202.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/9.399, allocations: 62.73 kB / 4.446 GB, free: 202.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009666/9.4, allocations: 0.7118 MB / 4.447 GB, free: 202.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/9.4, allocations: 29.55 kB / 4.447 GB, free: 202.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/9.4, allocations: 0.6917 MB / 4.448 GB, free: 202 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/9.4, allocations: 287.5 kB / 4.448 GB, free: 201.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/9.4, allocations: 0 / 4.448 GB, free: 201.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.318e-05/9.4, allocations: 348.9 kB / 4.448 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/9.401, allocations: 338.3 kB / 4.449 GB, free: 201.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/9.402, allocations: 0.691 MB / 4.449 GB, free: 201.1 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/9.404, allocations: 1.153 MB / 4.45 GB, free: 201 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/9.404, allocations: 3.938 kB / 4.45 GB, free: 201 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002063/9.406, allocations: 1.292 MB / 4.452 GB, free: 200.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/9.406, allocations: 6.469 kB / 4.452 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/9.406, allocations: 9.812 kB / 4.452 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/9.407, allocations: 141.6 kB / 4.452 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/9.407, allocations: 206.8 kB / 4.452 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/9.41, allocations: 4.604 MB / 4.456 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/9.411, allocations: 88.31 kB / 4.457 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/9.412, allocations: 46.83 kB / 4.457 GB, free: 197 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 113 * 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.0002027/9.412, allocations: 143.4 kB / 4.457 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/9.412, allocations: 121 kB / 4.457 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/9.414, allocations: 1.121 MB / 4.458 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/9.414, allocations: 7.281 kB / 4.458 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/9.414, allocations: 0 / 4.458 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/9.415, allocations: 1.119 MB / 4.459 GB, free: 196.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/9.42, allocations: 2.953 MB / 4.462 GB, free: 195.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/9.42, allocations: 12.03 kB / 4.462 GB, free: 195.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007387/9.421, allocations: 155.1 kB / 4.462 GB, free: 195.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003202/9.421, allocations: 134.6 kB / 4.462 GB, free: 195.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/9.422, allocations: 17.41 kB / 4.462 GB, free: 195.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003071/9.425, allocations: 4.592 MB / 4.467 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-05/9.425, allocations: 10.81 kB / 4.467 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/9.428, allocations: 2.046 MB / 4.469 GB, free: 191 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/9.429, allocations: 284.2 kB / 4.469 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/9.429, allocations: 14.73 kB / 4.469 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/9.431, allocations: 64.03 kB / 4.469 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/9.431, allocations: 77.5 kB / 4.469 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.855e-05/9.431, allocations: 34.5 kB / 4.469 GB, free: 190.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001006/9.432, allocations: 0.5346 MB / 4.47 GB, free: 190.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/9.432, allocations: 1.375 kB / 4.47 GB, free: 190.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002516/9.435, allocations: 0.5293 MB / 4.47 GB, free: 190.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (75): * Single equations (assignments): 72 * 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.00491/9.439, allocations: 2.69 MB / 4.473 GB, free: 189.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002279/9.442, allocations: 1.162 MB / 4.474 GB, free: 189.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/9.442, allocations: 4.297 kB / 4.474 GB, free: 189.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009838/9.443, allocations: 0.7263 MB / 4.475 GB, free: 189.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/9.446, allocations: 0.5981 MB / 4.475 GB, free: 189.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/9.451, allocations: 2.179 MB / 4.477 GB, free: 188.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/9.452, allocations: 1.383 MB / 4.479 GB, free: 187.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001515/9.454, allocations: 304.2 kB / 4.479 GB, free: 187.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/9.454, allocations: 98.86 kB / 4.479 GB, free: 187.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.985e-06/9.454, allocations: 0 / 4.479 GB, free: 187.7 MB / 1.167 GB Notification: Performance of Templates: time 0.05246/9.507, allocations: 35.76 MB / 4.514 GB, free: 187.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_PPM.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches