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.001133/0.001134, allocations: 113.6 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.001159/0.001159, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.2 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.53/2.53, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7903, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2297/1.02, allocations: 220.8 MB / 1.383 GB, free: 6.16 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0275/1.048, allocations: 22.31 MB / 1.405 GB, free: 15.79 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/1.05, allocations: 59.62 kB / 1.405 GB, free: 15.73 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002669/1.052, allocations: 0.8309 MB / 1.406 GB, free: 14.89 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01217/1.065, allocations: 4.563 MB / 1.41 GB, free: 10.31 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003418/1.068, allocations: 1.251 MB / 1.411 GB, free: 9.062 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005425/1.074, allocations: 4.113 MB / 1.415 GB, free: 4.934 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/1.076, allocations: 1.632 MB / 1.417 GB, free: 3.27 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003996/1.08, allocations: 1.892 MB / 1.419 GB, free: 1.371 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003616/1.084, allocations: 1.622 MB / 1.42 GB, free: 15.75 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006135/1.085, allocations: 168 kB / 1.421 GB, free: 15.59 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004774/1.089, allocations: 2.183 MB / 1.423 GB, free: 13.4 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/1.091, allocations: 0.7675 MB / 1.423 GB, free: 12.63 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002037/1.093, allocations: 1.003 MB / 1.424 GB, free: 11.62 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00597/1.099, allocations: 3.161 MB / 1.427 GB, free: 8.449 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.099, allocations: 0 / 1.427 GB, free: 8.449 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.192e-06/1.099, allocations: 0 / 1.427 GB, free: 8.449 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.897e-05/1.099, allocations: 4 kB / 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.004611/1.103, allocations: 2.214 MB / 1.43 GB, free: 6.172 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.103, allocations: 8.922 kB / 1.43 GB, free: 6.164 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/1.106, allocations: 426.4 kB / 1.43 GB, free: 5.746 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/1.109, allocations: 1.216 MB / 1.431 GB, free: 4.473 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.109, allocations: 102.7 kB / 1.431 GB, free: 4.371 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003436/1.109, allocations: 143.9 kB / 1.431 GB, free: 4.23 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/1.113, allocations: 1.631 MB / 1.433 GB, free: 2.527 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/1.113, allocations: 3.938 kB / 1.433 GB, free: 2.523 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/1.113, allocations: 60 kB / 1.433 GB, free: 2.465 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-05/1.113, allocations: 50.55 kB / 1.433 GB, free: 2.414 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/1.116, allocations: 1.325 MB / 1.434 GB, free: 1.082 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.01155/1.127, allocations: 7.179 MB / 1.442 GB, free: 9.336 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/1.129, allocations: 0.9358 MB / 1.442 GB, free: 8.398 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/1.13, allocations: 480.7 kB / 1.443 GB, free: 7.93 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007617/1.13, allocations: 409.3 kB / 1.443 GB, free: 7.453 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/1.13, allocations: 47.56 kB / 1.443 GB, free: 7.398 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 3.196e-06/1.13, allocations: 0 / 1.443 GB, free: 7.398 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.003385/1.134, allocations: 1.661 MB / 1.445 GB, free: 5.668 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/1.134, allocations: 60.41 kB / 1.445 GB, free: 5.594 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/1.136, allocations: 1.19 MB / 1.446 GB, free: 4.387 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/1.136, allocations: 45.7 kB / 1.446 GB, free: 4.336 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/1.136, allocations: 0.7319 MB / 1.447 GB, free: 3.598 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/1.137, allocations: 317.3 kB / 1.447 GB, free: 3.285 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/1.137, allocations: 194.6 kB / 1.447 GB, free: 3.09 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000206/1.137, allocations: 357.8 kB / 1.448 GB, free: 2.734 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000667/1.138, allocations: 368.6 kB / 1.448 GB, free: 2.371 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008971/1.139, allocations: 0.7247 MB / 1.449 GB, free: 1.496 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/1.14, allocations: 1.068 MB / 1.45 GB, free: 328 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.14, allocations: 4 kB / 1.45 GB, free: 324 kB / 1.17 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002258/1.143, allocations: 1.282 MB / 1.451 GB, free: 15.02 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/1.143, allocations: 18.67 kB / 1.451 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.143, allocations: 8 kB / 1.451 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003294/1.143, allocations: 134.4 kB / 1.451 GB, free: 14.86 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/1.144, allocations: 219.7 kB / 1.451 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/1.149, allocations: 5.971 MB / 1.457 GB, free: 8.227 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.15, allocations: 135.2 kB / 1.457 GB, free: 8.094 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/1.151, allocations: 47.94 kB / 1.457 GB, free: 8.047 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001344/1.152, allocations: 0.7048 MB / 1.458 GB, free: 7.34 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009454/1.153, allocations: 0.7207 MB / 1.459 GB, free: 6.473 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001493/1.154, allocations: 1.064 MB / 1.46 GB, free: 5.293 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.929e-06/1.154, allocations: 7.938 kB / 1.46 GB, free: 5.285 MB / 1.186 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002331/1.157, allocations: 1.286 MB / 1.461 GB, free: 3.984 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.157, allocations: 12 kB / 1.461 GB, free: 3.973 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.157, allocations: 8 kB / 1.461 GB, free: 3.965 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/1.157, allocations: 130.4 kB / 1.461 GB, free: 3.828 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/1.158, allocations: 207.7 kB / 1.462 GB, free: 3.625 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/1.163, allocations: 5.39 MB / 1.467 GB, free: 13.82 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/1.164, allocations: 111.5 kB / 1.467 GB, free: 13.71 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/1.164, allocations: 47.98 kB / 1.467 GB, free: 13.66 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.0003283/1.164, allocations: 251.8 kB / 1.467 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/1.165, allocations: 147 kB / 1.467 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/1.167, allocations: 1.077 MB / 1.468 GB, free: 12.17 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001382/1.168, allocations: 1.031 MB / 1.469 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.168, allocations: 0 / 1.469 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006666/1.169, allocations: 323.9 kB / 1.47 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/1.169, allocations: 19.98 kB / 1.47 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008385/1.17, allocations: 19.98 kB / 1.47 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.17, allocations: 56.81 kB / 1.47 GB, free: 10.65 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002525/1.173, allocations: 1.172 MB / 1.471 GB, free: 9.461 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002226/1.175, allocations: 1.568 MB / 1.472 GB, free: 7.875 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005897/1.175, allocations: 403.7 kB / 1.473 GB, free: 7.48 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001291/1.177, allocations: 0.8221 MB / 1.474 GB, free: 6.656 MB / 1.201 GB Notification: Performance of Backend: time 2.014e-06/1.177, allocations: 0 / 1.474 GB, free: 6.656 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004944/1.182, allocations: 2.408 MB / 1.476 GB, free: 4.176 MB / 1.201 GB Notification: Performance of SimCode: time 0.007134/1.189, allocations: 3.86 MB / 1.48 GB, free: 284 kB / 1.201 GB Notification: Performance of Templates: time 0.05992/1.249, allocations: 37.72 MB / 1.517 GB, free: 10.91 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