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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001417/0.001417, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001517/0.001517, allocations: 185.5 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7666/0.7681, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2317/0.9998, allocations: 220.8 MB / 1.383 GB, free: 6.156 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02914/1.029, allocations: 22.31 MB / 1.405 GB, free: 15.79 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/1.031, allocations: 63.62 kB / 1.405 GB, free: 15.72 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002453/1.034, allocations: 0.8309 MB / 1.406 GB, free: 14.89 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/1.044, allocations: 4.561 MB / 1.41 GB, free: 10.31 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003388/1.048, allocations: 1.251 MB / 1.411 GB, free: 9.062 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005493/1.053, allocations: 4.125 MB / 1.415 GB, free: 4.922 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/1.056, allocations: 1.625 MB / 1.417 GB, free: 3.266 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003732/1.06, allocations: 1.907 MB / 1.419 GB, free: 1.352 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003353/1.063, allocations: 1.609 MB / 1.42 GB, free: 15.74 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005123/1.064, allocations: 168 kB / 1.421 GB, free: 15.58 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004503/1.068, allocations: 2.179 MB / 1.423 GB, free: 13.39 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/1.069, allocations: 0.7753 MB / 1.423 GB, free: 12.62 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001862/1.071, allocations: 1.007 MB / 1.424 GB, free: 11.61 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005196/1.076, allocations: 3.147 MB / 1.427 GB, free: 8.449 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.076, allocations: 0 / 1.427 GB, free: 8.449 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.362e-06/1.076, allocations: 4 kB / 1.427 GB, free: 8.445 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.08e-05/1.076, allocations: 0 / 1.427 GB, free: 8.445 MB / 1.154 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.004425/1.081, allocations: 2.147 MB / 1.43 GB, free: 6.242 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.081, allocations: 8.922 kB / 1.43 GB, free: 6.234 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/1.084, allocations: 413.3 kB / 1.43 GB, free: 5.828 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/1.086, allocations: 1.219 MB / 1.431 GB, free: 4.551 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.356e-05/1.086, allocations: 106.6 kB / 1.431 GB, free: 4.445 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/1.087, allocations: 144 kB / 1.431 GB, free: 4.305 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00309/1.09, allocations: 1.621 MB / 1.433 GB, free: 2.613 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/1.09, allocations: 7.938 kB / 1.433 GB, free: 2.605 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.09, allocations: 59.98 kB / 1.433 GB, free: 2.547 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.924e-05/1.09, allocations: 50.53 kB / 1.433 GB, free: 2.496 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/1.092, allocations: 1.329 MB / 1.434 GB, free: 1.16 MB / 1.154 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.008965/1.101, allocations: 7.154 MB / 1.441 GB, free: 9.438 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/1.103, allocations: 0.9397 MB / 1.442 GB, free: 8.496 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/1.104, allocations: 476.1 kB / 1.443 GB, free: 8.031 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007005/1.104, allocations: 409.3 kB / 1.443 GB, free: 7.555 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/1.104, allocations: 47.56 kB / 1.443 GB, free: 7.5 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 3.597e-06/1.104, allocations: 0 / 1.443 GB, free: 7.5 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.003126/1.107, allocations: 1.649 MB / 1.445 GB, free: 5.781 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/1.108, allocations: 60.41 kB / 1.445 GB, free: 5.707 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/1.109, allocations: 1.198 MB / 1.446 GB, free: 4.492 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.412e-05/1.109, allocations: 41.7 kB / 1.446 GB, free: 4.445 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005455/1.11, allocations: 0.7227 MB / 1.447 GB, free: 3.715 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/1.11, allocations: 295.7 kB / 1.447 GB, free: 3.422 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/1.11, allocations: 202.4 kB / 1.447 GB, free: 3.219 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.111, allocations: 345.9 kB / 1.448 GB, free: 2.875 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/1.111, allocations: 372.6 kB / 1.448 GB, free: 2.508 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000852/1.112, allocations: 0.7208 MB / 1.449 GB, free: 1.637 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/1.113, allocations: 1.068 MB / 1.45 GB, free: 472 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.113, allocations: 0 / 1.45 GB, free: 472 kB / 1.17 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002052/1.115, allocations: 1.289 MB / 1.451 GB, free: 15.15 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.115, allocations: 8 kB / 1.451 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.116, allocations: 8 kB / 1.451 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/1.116, allocations: 134.4 kB / 1.451 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009902/1.117, allocations: 232 kB / 1.451 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004736/1.122, allocations: 5.967 MB / 1.457 GB, free: 8.363 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.123, allocations: 118.7 kB / 1.457 GB, free: 8.246 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/1.123, allocations: 51.92 kB / 1.457 GB, free: 8.195 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001133/1.124, allocations: 0.7048 MB / 1.458 GB, free: 7.488 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008689/1.125, allocations: 0.7248 MB / 1.459 GB, free: 6.617 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001385/1.126, allocations: 1.068 MB / 1.46 GB, free: 5.434 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/1.126, allocations: 4 kB / 1.46 GB, free: 5.43 MB / 1.186 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002025/1.128, allocations: 1.281 MB / 1.461 GB, free: 4.133 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.128, allocations: 8 kB / 1.461 GB, free: 4.125 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.128, allocations: 8 kB / 1.461 GB, free: 4.117 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/1.129, allocations: 143.3 kB / 1.461 GB, free: 3.969 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007926/1.13, allocations: 207.7 kB / 1.461 GB, free: 3.766 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/1.134, allocations: 5.385 MB / 1.467 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/1.135, allocations: 103.2 kB / 1.467 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/1.135, allocations: 44 kB / 1.467 GB, free: 13.82 MB / 1.201 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.0002859/1.135, allocations: 255.9 kB / 1.467 GB, free: 13.56 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/1.136, allocations: 142.3 kB / 1.467 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/1.137, allocations: 1.065 MB / 1.468 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0013/1.139, allocations: 1.031 MB / 1.469 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/1.139, allocations: 7.984 kB / 1.469 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006233/1.139, allocations: 315.1 kB / 1.469 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/1.14, allocations: 20 kB / 1.47 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007931/1.14, allocations: 34.28 kB / 1.47 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/1.141, allocations: 48.88 kB / 1.47 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002361/1.143, allocations: 1.172 MB / 1.471 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001991/1.145, allocations: 1.556 MB / 1.472 GB, free: 8.051 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005218/1.145, allocations: 407.7 kB / 1.473 GB, free: 7.652 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001139/1.147, allocations: 0.8143 MB / 1.473 GB, free: 6.836 MB / 1.201 GB Notification: Performance of Backend: time 4.01e-07/1.147, allocations: 0 / 1.473 GB, free: 6.836 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004571/1.151, allocations: 2.42 MB / 1.476 GB, free: 4.348 MB / 1.201 GB Notification: Performance of SimCode: time 0.006766/1.158, allocations: 3.803 MB / 1.48 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of Templates: time 0.05647/1.214, allocations: 37.72 MB / 1.516 GB, free: 11.14 MB / 1.248 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches