Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009392/0.0009391, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009557/0.0009558, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.55/2.55, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003096, allocations: 11.94 kB / 0.8707 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6184/0.6188, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.1879/0.8068, allocations: 177 MB / 1.194 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02248/0.8293, allocations: 18.6 MB / 1.212 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.8308, allocations: 39.75 kB / 1.212 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.8329, allocations: 0.766 MB / 1.213 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007521/0.8404, allocations: 2.917 MB / 1.215 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.8436, allocations: 1.217 MB / 1.217 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003444/0.847, allocations: 2.265 MB / 1.219 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.8486, allocations: 1.191 MB / 1.22 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.852, allocations: 1.675 MB / 1.222 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.854, allocations: 1.129 MB / 1.223 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.8541, allocations: 72 kB / 1.223 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.8563, allocations: 0.8347 MB / 1.224 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006148/0.857, allocations: 0.5922 MB / 1.224 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.8574, allocations: 364.9 kB / 1.225 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.8595, allocations: 1.952 MB / 1.226 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.8595, allocations: 0 / 1.226 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8595, allocations: 4 kB / 1.226 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.598e-05/0.8596, allocations: 0 / 1.226 GB, free: 13.96 MB / 0.9825 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.002798/0.8624, allocations: 1.687 MB / 1.228 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.8624, allocations: 11.98 kB / 1.228 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.8646, allocations: 417.4 kB / 1.229 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.8666, allocations: 1.055 MB / 1.23 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.5e-05/0.8667, allocations: 102.6 kB / 1.23 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.8668, allocations: 135.9 kB / 1.23 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.8692, allocations: 1.567 MB / 1.231 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.8692, allocations: 0 / 1.231 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.8693, allocations: 55.98 kB / 1.231 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.8694, allocations: 46.45 kB / 1.231 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.8714, allocations: 1.298 MB / 1.233 GB, free: 7.406 MB / 0.9825 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.007888/0.8793, allocations: 6.473 MB / 1.239 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.8807, allocations: 0.9298 MB / 1.24 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004445/0.8811, allocations: 169.6 kB / 1.24 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.8812, allocations: 43.22 kB / 1.24 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.875e-06/0.8812, allocations: 0 / 1.24 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.005137/0.8863, allocations: 2.934 MB / 1.243 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.8864, allocations: 60.41 kB / 1.243 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.8878, allocations: 1.193 MB / 1.244 GB, free: 11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.332e-05/0.8879, allocations: 45.7 kB / 1.244 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004894/0.8884, allocations: 0.676 MB / 1.245 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.8887, allocations: 299.6 kB / 1.245 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.8888, allocations: 20 kB / 1.245 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.8889, allocations: 353.8 kB / 1.246 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.8895, allocations: 373.8 kB / 1.246 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008112/0.8903, allocations: 0.7152 MB / 1.247 GB, free: 8.367 MB / 0.9981 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.01113/0.9014, allocations: 2.364 MB / 1.249 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.9015, allocations: 4 kB / 1.249 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002194/0.9037, allocations: 1.293 MB / 1.25 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.9037, allocations: 8 kB / 1.25 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.9037, allocations: 11.98 kB / 1.25 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.904, allocations: 134.5 kB / 1.25 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008362/0.9048, allocations: 208.1 kB / 1.251 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4955/1.4, allocations: 4.858 MB / 1.255 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.402, allocations: 111.9 kB / 1.255 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.402, allocations: 45.42 kB / 1.255 GB, free: 229.4 MB / 0.9981 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 () * Number of clocked 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.0008517/1.403, allocations: 423 kB / 1.256 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/1.403, allocations: 141.4 kB / 1.256 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/1.405, allocations: 1.1 MB / 1.257 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.405, allocations: 8.344 kB / 1.257 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.405, allocations: 1.109 kB / 1.257 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001555/1.407, allocations: 1.049 MB / 1.258 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00624/1.413, allocations: 3.12 MB / 1.261 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.413, allocations: 5.844 kB / 1.261 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008128/1.414, allocations: 164.9 kB / 1.261 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/1.414, allocations: 136.3 kB / 1.261 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/1.414, allocations: 23.27 kB / 1.261 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/1.418, allocations: 4.846 MB / 1.266 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/1.418, allocations: 10.41 kB / 1.266 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/1.421, allocations: 2.089 MB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007756/1.422, allocations: 315.5 kB / 1.269 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/1.422, allocations: 25.34 kB / 1.269 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009308/1.423, allocations: 80.19 kB / 1.269 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/1.423, allocations: 78.02 kB / 1.269 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/1.423, allocations: 41.38 kB / 1.269 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001556/1.425, allocations: 0.8326 MB / 1.27 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.425, allocations: 0.5312 kB / 1.27 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001797/1.426, allocations: 409.5 kB / 1.27 GB, free: 220.7 MB / 0.9981 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 () * Number of clocked 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.0005267/1.427, allocations: 241.6 kB / 1.27 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002052/1.429, allocations: 1.27 MB / 1.271 GB, free: 220 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.429, allocations: 1.031 kB / 1.271 GB, free: 220 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008646/1.43, allocations: 0.7804 MB / 1.272 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/1.434, allocations: 0.8442 MB / 1.273 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/1.438, allocations: 3.364 MB / 1.276 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009746/1.439, allocations: 1.385 MB / 1.278 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001475/1.44, allocations: 358.1 kB / 1.278 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/1.441, allocations: 114.7 kB / 1.278 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.11e-07/1.441, allocations: 0 / 1.278 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04014/1.481, allocations: 29.35 MB / 1.307 GB, free: 195.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_PPM.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches