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.001184/0.001184, allocations: 115.4 kB / 16.42 MB, free: 6.504 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.001205/0.001206, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.592/2.592, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 64.12 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7491/0.7506, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2127/0.9633, allocations: 220.8 MB / 1.424 GB, free: 144 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02822/0.9916, allocations: 22.32 MB / 1.446 GB, free: 9.762 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003504/0.9951, allocations: 59.62 kB / 1.446 GB, free: 9.703 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.9982, allocations: 0.8075 MB / 1.447 GB, free: 8.891 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/1.01, allocations: 4.399 MB / 1.451 GB, free: 4.477 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003337/1.013, allocations: 1.246 MB / 1.452 GB, free: 3.234 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005118/1.018, allocations: 4.12 MB / 1.456 GB, free: 15.1 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/1.02, allocations: 1.625 MB / 1.458 GB, free: 13.44 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/1.024, allocations: 1.861 MB / 1.46 GB, free: 11.57 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/1.028, allocations: 1.605 MB / 1.461 GB, free: 9.961 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000275/1.028, allocations: 171.9 kB / 1.461 GB, free: 9.793 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004079/1.032, allocations: 2.167 MB / 1.464 GB, free: 7.621 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007998/1.033, allocations: 0.7714 MB / 1.464 GB, free: 6.848 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/1.034, allocations: 0.9994 MB / 1.465 GB, free: 5.844 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004099/1.038, allocations: 3.143 MB / 1.468 GB, free: 2.691 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.038, allocations: 0 / 1.468 GB, free: 2.691 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.463e-06/1.038, allocations: 0 / 1.468 GB, free: 2.691 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.244e-05/1.038, allocations: 0 / 1.468 GB, free: 2.691 MB / 1.186 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.003274/1.042, allocations: 2.163 MB / 1.47 GB, free: 484 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/1.042, allocations: 12.03 kB / 1.47 GB, free: 472 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/1.044, allocations: 413.3 kB / 1.471 GB, free: 56 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/1.046, allocations: 1.211 MB / 1.472 GB, free: 14.79 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/1.046, allocations: 102.7 kB / 1.472 GB, free: 14.68 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/1.046, allocations: 140 kB / 1.472 GB, free: 14.55 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/1.049, allocations: 1.631 MB / 1.474 GB, free: 12.84 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.252e-05/1.049, allocations: 3.938 kB / 1.474 GB, free: 12.84 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.049, allocations: 60 kB / 1.474 GB, free: 12.78 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/1.049, allocations: 54.53 kB / 1.474 GB, free: 12.73 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/1.051, allocations: 1.329 MB / 1.475 GB, free: 11.39 MB / 1.201 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.007938/1.059, allocations: 7.158 MB / 1.482 GB, free: 3.676 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/1.06, allocations: 0.9286 MB / 1.483 GB, free: 2.742 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006674/1.061, allocations: 475.6 kB / 1.484 GB, free: 2.277 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007419/1.062, allocations: 417.3 kB / 1.484 GB, free: 1.797 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/1.062, allocations: 47.5 kB / 1.484 GB, free: 1.742 MB / 1.201 GB Notification: Performance of pre-optimization done (n=83): time 3.036e-06/1.062, allocations: 0 / 1.484 GB, free: 1.742 MB / 1.201 GB Notification: Performance of matching and sorting (n=83): time 0.002959/1.065, allocations: 1.649 MB / 1.486 GB, free: 24 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/1.065, allocations: 60.41 kB / 1.486 GB, free: 15.95 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/1.066, allocations: 1.194 MB / 1.487 GB, free: 14.74 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.653e-05/1.066, allocations: 49.7 kB / 1.487 GB, free: 14.69 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005228/1.067, allocations: 0.7188 MB / 1.488 GB, free: 13.96 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/1.067, allocations: 299.7 kB / 1.488 GB, free: 13.66 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/1.067, allocations: 194.5 kB / 1.488 GB, free: 13.47 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.068, allocations: 349.9 kB / 1.488 GB, free: 13.12 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/1.068, allocations: 372.7 kB / 1.489 GB, free: 12.75 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/1.069, allocations: 0.7208 MB / 1.489 GB, free: 11.88 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/1.07, allocations: 1.073 MB / 1.491 GB, free: 10.7 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.07, allocations: 0 / 1.491 GB, free: 10.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002035/1.072, allocations: 1.277 MB / 1.492 GB, free: 9.398 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.073, allocations: 12.12 kB / 1.492 GB, free: 9.387 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.073, allocations: 12 kB / 1.492 GB, free: 9.375 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/1.073, allocations: 130.4 kB / 1.492 GB, free: 9.238 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/1.074, allocations: 219.7 kB / 1.492 GB, free: 9.023 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004797/1.079, allocations: 5.978 MB / 1.498 GB, free: 2.605 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/1.08, allocations: 126.9 kB / 1.498 GB, free: 2.48 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.872e-05/1.08, allocations: 51.92 kB / 1.498 GB, free: 2.43 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001152/1.081, allocations: 0.7048 MB / 1.499 GB, free: 1.723 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008561/1.082, allocations: 0.7207 MB / 1.5 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001429/1.083, allocations: 1.076 MB / 1.501 GB, free: 15.66 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.155e-06/1.084, allocations: 4 kB / 1.501 GB, free: 15.66 MB / 1.232 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.00206/1.086, allocations: 1.273 MB / 1.502 GB, free: 14.37 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.086, allocations: 11.98 kB / 1.502 GB, free: 14.36 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.086, allocations: 8 kB / 1.502 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/1.086, allocations: 134.4 kB / 1.502 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008179/1.087, allocations: 207.7 kB / 1.502 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/1.091, allocations: 5.377 MB / 1.507 GB, free: 8.215 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.092, allocations: 107.3 kB / 1.508 GB, free: 8.109 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.352e-05/1.092, allocations: 44 kB / 1.508 GB, free: 8.066 MB / 1.232 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.0002767/1.093, allocations: 251.8 kB / 1.508 GB, free: 7.812 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/1.093, allocations: 142.3 kB / 1.508 GB, free: 7.672 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/1.095, allocations: 1.065 MB / 1.509 GB, free: 6.586 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001355/1.096, allocations: 1.039 MB / 1.51 GB, free: 5.488 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.096, allocations: 4 kB / 1.51 GB, free: 5.484 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/1.097, allocations: 327 kB / 1.51 GB, free: 5.145 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/1.097, allocations: 19.94 kB / 1.51 GB, free: 5.125 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/1.098, allocations: 21.36 kB / 1.51 GB, free: 5.105 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/1.098, allocations: 52.88 kB / 1.51 GB, free: 5.055 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002371/1.1, allocations: 1.172 MB / 1.512 GB, free: 3.863 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00209/1.102, allocations: 1.552 MB / 1.513 GB, free: 2.297 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005676/1.103, allocations: 403.7 kB / 1.513 GB, free: 1.902 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001225/1.104, allocations: 0.8182 MB / 1.514 GB, free: 1.082 MB / 1.232 GB Notification: Performance of Backend: time 3.21e-07/1.104, allocations: 3.938 kB / 1.514 GB, free: 1.078 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004841/1.109, allocations: 2.42 MB / 1.517 GB, free: 14.59 MB / 1.248 GB Notification: Performance of SimCode: time 0.006728/1.116, allocations: 3.804 MB / 1.52 GB, free: 10.75 MB / 1.248 GB Notification: Performance of Templates: time 0.0638/1.18, allocations: 38.46 MB / 1.558 GB, free: 4.652 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