Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.00102/0.00102, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001272/0.001272, allocations: 168.7 kB / 15.95 MB, free: 204 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.39/1.39, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 11.94 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6117/0.6121, allocations: 153.8 MB / 1.022 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2032/0.8154, allocations: 201.2 MB / 1.219 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02433/0.8397, allocations: 20.75 MB / 1.239 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.8414, allocations: 47.69 kB / 1.239 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.8431, allocations: 0.5589 MB / 1.24 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.5669/1.41, allocations: 3.07 MB / 1.243 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/1.413, allocations: 0.9272 MB / 1.244 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006908/1.42, allocations: 4.792 MB / 1.248 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/1.422, allocations: 1.21 MB / 1.25 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/1.426, allocations: 1.575 MB / 1.251 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003889/1.43, allocations: 1.529 MB / 1.253 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003609/1.431, allocations: 74.59 kB / 1.253 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004591/1.435, allocations: 1.251 MB / 1.254 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001064/1.436, allocations: 0.6712 MB / 1.255 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/1.437, allocations: 377.3 kB / 1.255 GB, free: 24.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003128/1.44, allocations: 2.202 MB / 1.257 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.441, allocations: 3.984 kB / 1.257 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/1.441, allocations: 0 / 1.257 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.2e-05/1.441, allocations: 0 / 1.257 GB, free: 23.98 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.003041/1.444, allocations: 1.817 MB / 1.259 GB, free: 22.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.444, allocations: 10.78 kB / 1.259 GB, free: 22.97 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/1.446, allocations: 413.8 kB / 1.259 GB, free: 22.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/1.448, allocations: 1.101 MB / 1.26 GB, free: 22.51 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/1.448, allocations: 108.8 kB / 1.26 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/1.448, allocations: 138.8 kB / 1.261 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/1.451, allocations: 1.624 MB / 1.262 GB, free: 22.29 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/1.451, allocations: 1.094 kB / 1.262 GB, free: 22.29 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/1.451, allocations: 56.19 kB / 1.262 GB, free: 22.29 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.938e-05/1.451, allocations: 51.31 kB / 1.262 GB, free: 22.29 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/1.453, allocations: 1.323 MB / 1.264 GB, free: 22.27 MB / 0.9981 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.007953/1.461, allocations: 7.154 MB / 1.27 GB, free: 18.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/1.462, allocations: 0.9147 MB / 1.271 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/1.463, allocations: 479.2 kB / 1.272 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/1.464, allocations: 429.7 kB / 1.272 GB, free: 17.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.464, allocations: 49.19 kB / 1.272 GB, free: 17.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 3.377e-06/1.464, allocations: 3.984 kB / 1.272 GB, free: 17.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.002732/1.466, allocations: 1.641 MB / 1.274 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/1.466, allocations: 62.62 kB / 1.274 GB, free: 17.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/1.468, allocations: 1.185 MB / 1.275 GB, free: 17.11 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.862e-05/1.468, allocations: 44.92 kB / 1.275 GB, free: 17.08 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/1.468, allocations: 0.7162 MB / 1.276 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/1.469, allocations: 298.2 kB / 1.276 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/1.469, allocations: 18.03 kB / 1.276 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.469, allocations: 344.5 kB / 1.276 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004946/1.469, allocations: 362.6 kB / 1.277 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000672/1.47, allocations: 0.7178 MB / 1.278 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/1.471, allocations: 487.1 kB / 1.278 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.471, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001694/1.472, allocations: 1.275 MB / 1.279 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/1.472, allocations: 340.4 kB / 1.28 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.472, allocations: 8.594 kB / 1.28 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/1.473, allocations: 139.9 kB / 1.28 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009184/1.474, allocations: 218.4 kB / 1.28 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/1.478, allocations: 5.425 MB / 1.285 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.479, allocations: 202.4 kB / 1.285 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/1.479, allocations: 44 kB / 1.285 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/1.479, allocations: 2.938 kB / 1.285 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001509/1.481, allocations: 1.131 MB / 1.287 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.481, allocations: 11.73 kB / 1.287 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/1.481, allocations: 135.7 kB / 1.287 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/1.482, allocations: 209.4 kB / 1.287 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/1.485, allocations: 4.826 MB / 1.292 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.487, allocations: 191.3 kB / 1.292 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/1.487, allocations: 40.47 kB / 1.292 GB, free: 6.484 MB / 0.9981 GB 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): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0008385/1.488, allocations: 0.4982 MB / 1.292 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.488, allocations: 147 kB / 1.292 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.49, allocations: 1.071 MB / 1.294 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.49, allocations: 9.5 kB / 1.294 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/1.49, allocations: 0 / 1.294 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/1.491, allocations: 1.023 MB / 1.295 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/1.494, allocations: 2.578 MB / 1.297 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.494, allocations: 7.406 kB / 1.297 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007566/1.495, allocations: 168.4 kB / 1.297 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/1.495, allocations: 121.5 kB / 1.297 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-05/1.496, allocations: 26.91 kB / 1.297 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00404/1.5, allocations: 5.407 MB / 1.303 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.5, allocations: 2.938 kB / 1.303 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/1.502, allocations: 1.655 MB / 1.304 GB, free: 16.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006277/1.502, allocations: 323.1 kB / 1.305 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/1.502, allocations: 25.75 kB / 1.305 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/1.503, allocations: 87.66 kB / 1.305 GB, free: 16.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.503, allocations: 67.92 kB / 1.305 GB, free: 16.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/1.504, allocations: 31.36 kB / 1.305 GB, free: 16.22 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001017/1.505, allocations: 0.8055 MB / 1.306 GB, free: 16.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.505, allocations: 0 / 1.306 GB, free: 16.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002374/1.507, allocations: 0.8289 MB / 1.306 GB, free: 16.01 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.m,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 (74): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0005317/1.507, allocations: 257 kB / 1.307 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002838/1.51, allocations: 2.187 MB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.51, allocations: 2.844 kB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008576/1.511, allocations: 0.7929 MB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/1.514, allocations: 0.7986 MB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/1.519, allocations: 3.502 MB / 1.314 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008946/1.52, allocations: 1.39 MB / 1.315 GB, free: 12.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00163/1.521, allocations: 459.7 kB / 1.316 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/1.521, allocations: 109 kB / 1.316 GB, free: 12.25 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.521, allocations: 0 / 1.316 GB, free: 12.25 MB / 1.014 GB Notification: Performance of Templates: time 0.04676/1.568, allocations: 29.34 MB / 1.344 GB, free: 1.488 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_PPM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches