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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001759/0.001759, allocations: 111.9 kB / 16.42 MB, free: 6.512 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.001962/0.001962, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 67.89 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7791, allocations: 159.1 MB / 1.221 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.231/1.01, allocations: 220.8 MB / 1.437 GB, free: 4.734 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03209/1.042, allocations: 22.32 MB / 1.458 GB, free: 14.35 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/1.045, allocations: 59.69 kB / 1.458 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002691/1.047, allocations: 0.8308 MB / 1.459 GB, free: 13.46 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01121/1.059, allocations: 4.569 MB / 1.464 GB, free: 8.867 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/1.062, allocations: 1.238 MB / 1.465 GB, free: 7.633 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005852/1.068, allocations: 4.139 MB / 1.469 GB, free: 3.484 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/1.071, allocations: 1.625 MB / 1.471 GB, free: 1.816 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004127/1.075, allocations: 1.896 MB / 1.472 GB, free: 15.91 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003512/1.079, allocations: 1.618 MB / 1.474 GB, free: 14.3 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0005684/1.079, allocations: 168 kB / 1.474 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004852/1.084, allocations: 2.175 MB / 1.476 GB, free: 11.95 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001211/1.085, allocations: 0.7754 MB / 1.477 GB, free: 11.18 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002146/1.087, allocations: 1.011 MB / 1.478 GB, free: 10.16 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006402/1.094, allocations: 3.135 MB / 1.481 GB, free: 7.016 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.094, allocations: 3.984 kB / 1.481 GB, free: 7.012 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.833e-06/1.094, allocations: 0 / 1.481 GB, free: 7.012 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.413e-05/1.094, allocations: 0 / 1.481 GB, free: 7.012 MB / 1.201 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.004766/1.099, allocations: 2.155 MB / 1.483 GB, free: 4.801 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.099, allocations: 12.62 kB / 1.483 GB, free: 4.789 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/1.101, allocations: 413.4 kB / 1.484 GB, free: 4.383 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/1.104, allocations: 1.203 MB / 1.485 GB, free: 3.121 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/1.104, allocations: 106.7 kB / 1.485 GB, free: 3.016 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/1.105, allocations: 147.9 kB / 1.485 GB, free: 2.871 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/1.108, allocations: 1.631 MB / 1.487 GB, free: 1.168 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/1.108, allocations: 3.938 kB / 1.487 GB, free: 1.164 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/1.108, allocations: 55.98 kB / 1.487 GB, free: 1.109 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/1.108, allocations: 58.53 kB / 1.487 GB, free: 1.051 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/1.111, allocations: 1.325 MB / 1.488 GB, free: 15.71 MB / 1.217 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.01/1.121, allocations: 7.162 MB / 1.495 GB, free: 7.992 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/1.123, allocations: 0.9359 MB / 1.496 GB, free: 7.051 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007239/1.123, allocations: 483.5 kB / 1.496 GB, free: 6.578 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007413/1.124, allocations: 413.3 kB / 1.497 GB, free: 6.102 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/1.124, allocations: 47.56 kB / 1.497 GB, free: 6.047 MB / 1.217 GB Notification: Performance of pre-optimization done (n=83): time 3.286e-06/1.124, allocations: 0 / 1.497 GB, free: 6.047 MB / 1.217 GB Notification: Performance of matching and sorting (n=83): time 0.003276/1.127, allocations: 1.641 MB / 1.498 GB, free: 4.336 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/1.127, allocations: 64.34 kB / 1.498 GB, free: 4.262 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/1.129, allocations: 1.194 MB / 1.5 GB, free: 3.051 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.129, allocations: 45.7 kB / 1.5 GB, free: 3 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006044/1.13, allocations: 0.7227 MB / 1.5 GB, free: 2.27 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/1.13, allocations: 295.7 kB / 1.501 GB, free: 1.977 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/1.131, allocations: 198.5 kB / 1.501 GB, free: 1.777 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.131, allocations: 353.8 kB / 1.501 GB, free: 1.426 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006112/1.132, allocations: 368.7 kB / 1.502 GB, free: 1.062 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009247/1.132, allocations: 0.7208 MB / 1.502 GB, free: 200 kB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/1.134, allocations: 1.064 MB / 1.503 GB, free: 15.02 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/1.134, allocations: 4 kB / 1.503 GB, free: 15.02 MB / 1.232 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002228/1.136, allocations: 1.285 MB / 1.505 GB, free: 13.71 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.136, allocations: 8 kB / 1.505 GB, free: 13.71 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/1.136, allocations: 8 kB / 1.505 GB, free: 13.7 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/1.137, allocations: 131 kB / 1.505 GB, free: 13.56 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/1.138, allocations: 231.6 kB / 1.505 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/1.143, allocations: 5.968 MB / 1.511 GB, free: 6.926 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.144, allocations: 130.6 kB / 1.511 GB, free: 6.797 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.144, allocations: 51.92 kB / 1.511 GB, free: 6.746 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/1.145, allocations: 0.7035 MB / 1.512 GB, free: 6.043 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009054/1.146, allocations: 0.7248 MB / 1.512 GB, free: 5.172 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00142/1.148, allocations: 1.068 MB / 1.513 GB, free: 3.984 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.57e-06/1.148, allocations: 0 / 1.513 GB, free: 3.984 MB / 1.232 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002175/1.15, allocations: 1.281 MB / 1.515 GB, free: 2.691 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.15, allocations: 8 kB / 1.515 GB, free: 2.684 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.15, allocations: 8 kB / 1.515 GB, free: 2.676 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002589/1.15, allocations: 135.2 kB / 1.515 GB, free: 2.535 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008162/1.151, allocations: 207.7 kB / 1.515 GB, free: 2.332 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004525/1.156, allocations: 5.392 MB / 1.52 GB, free: 12.52 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.157, allocations: 99.19 kB / 1.52 GB, free: 12.42 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/1.157, allocations: 51.98 kB / 1.52 GB, free: 12.37 MB / 1.248 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003711/1.158, allocations: 248 kB / 1.521 GB, free: 12.12 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/1.158, allocations: 138.3 kB / 1.521 GB, free: 11.98 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/1.16, allocations: 1.077 MB / 1.522 GB, free: 10.89 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001339/1.161, allocations: 1.031 MB / 1.523 GB, free: 9.805 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.161, allocations: 3.938 kB / 1.523 GB, free: 9.801 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000693/1.162, allocations: 327.1 kB / 1.523 GB, free: 9.461 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/1.162, allocations: 16 kB / 1.523 GB, free: 9.445 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008837/1.163, allocations: 22.05 kB / 1.523 GB, free: 9.426 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.163, allocations: 56.81 kB / 1.523 GB, free: 9.371 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002484/1.166, allocations: 1.168 MB / 1.524 GB, free: 8.18 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00217/1.168, allocations: 1.56 MB / 1.526 GB, free: 6.605 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005376/1.169, allocations: 407.7 kB / 1.526 GB, free: 6.207 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00128/1.17, allocations: 0.8182 MB / 1.527 GB, free: 5.387 MB / 1.248 GB Notification: Performance of Backend: time 4.21e-07/1.17, allocations: 0 / 1.527 GB, free: 5.387 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.005124/1.175, allocations: 2.412 MB / 1.529 GB, free: 2.906 MB / 1.248 GB Notification: Performance of SimCode: time 0.007089/1.182, allocations: 3.811 MB / 1.533 GB, free: 15.05 MB / 1.264 GB Notification: Performance of Templates: time 0.6204/1.803, allocations: 37.7 MB / 1.57 GB, free: 337.9 MB / 1.279 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches