Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 210.8 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.141/3.141, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senPPMTwoPort.ppm|senPPMNoRev.ppm|senPPMVol.ppm|senPPMRev.ppm|senPPMSta.ppm|senPPMIn.ppm|senPPMVol2.ppm",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senPPMTwoPort.ppm|senPPMNoRev.ppm|senPPMVol.ppm|senPPMRev.ppm|senPPMSta.ppm|senPPMIn.ppm|senPPMVol2.ppm",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.PPM") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002684/0.002684, allocations: 73.3 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3364, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2413/0.5778, allocations: 195.9 MB / 1.518 GB, free: 12.28 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0305/0.6083, allocations: 20.52 MB / 1.538 GB, free: 7.703 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.6104, allocations: 79.31 kB / 1.539 GB, free: 7.625 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.613, allocations: 0.8036 MB / 1.539 GB, free: 6.816 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.6259, allocations: 4.535 MB / 1.544 GB, free: 2.266 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004036/0.6299, allocations: 1.277 MB / 1.545 GB, free: 0.9922 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0065/0.6364, allocations: 4.213 MB / 1.549 GB, free: 12.77 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.6387, allocations: 1.212 MB / 1.55 GB, free: 11.51 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/0.6442, allocations: 2.293 MB / 1.553 GB, free: 9.211 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004198/0.6484, allocations: 1.697 MB / 1.554 GB, free: 7.512 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004685/0.6489, allocations: 168 kB / 1.554 GB, free: 7.348 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00439/0.6533, allocations: 1.804 MB / 1.556 GB, free: 5.539 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.6544, allocations: 0.7868 MB / 1.557 GB, free: 4.75 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.6558, allocations: 0.8402 MB / 1.558 GB, free: 3.906 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.6615, allocations: 3.122 MB / 1.561 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6615, allocations: 0 / 1.561 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6615, allocations: 0 / 1.561 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.632e-05/0.6615, allocations: 0 / 1.561 GB, free: 0.7734 MB / 1.248 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.004161/0.6657, allocations: 2.139 MB / 1.563 GB, free: 14.59 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.6657, allocations: 8.031 kB / 1.563 GB, free: 14.58 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.6682, allocations: 434.3 kB / 1.563 GB, free: 14.16 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.6708, allocations: 1.132 MB / 1.564 GB, free: 12.97 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.654e-05/0.6709, allocations: 98.66 kB / 1.564 GB, free: 12.88 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.6712, allocations: 155.9 kB / 1.565 GB, free: 12.72 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003076/0.6743, allocations: 1.828 MB / 1.566 GB, free: 10.77 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.6743, allocations: 0 / 1.566 GB, free: 10.77 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.6745, allocations: 56 kB / 1.566 GB, free: 10.72 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.272e-05/0.6746, allocations: 58.47 kB / 1.567 GB, free: 10.66 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.6769, allocations: 1.321 MB / 1.568 GB, free: 9.332 MB / 1.264 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.008113/0.685, allocations: 4.685 MB / 1.572 GB, free: 4.543 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.6865, allocations: 0.8745 MB / 1.573 GB, free: 3.656 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.6872, allocations: 444.3 kB / 1.574 GB, free: 3.223 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.6879, allocations: 112.8 kB / 1.574 GB, free: 3.113 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.6879, allocations: 47.55 kB / 1.574 GB, free: 3.059 MB / 1.264 GB Notification: Performance of pre-optimization done (n=83): time 2.955e-06/0.6879, allocations: 0 / 1.574 GB, free: 3.059 MB / 1.264 GB Notification: Performance of matching and sorting (n=83): time 0.003266/0.6912, allocations: 1.396 MB / 1.575 GB, free: 1.645 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.6912, allocations: 64.34 kB / 1.575 GB, free: 1.57 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.6926, allocations: 0.9689 MB / 1.576 GB, free: 0.5859 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.567e-05/0.6927, allocations: 45.7 kB / 1.576 GB, free: 0.5352 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006176/0.6933, allocations: 0.7347 MB / 1.577 GB, free: 15.79 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.6937, allocations: 325.2 kB / 1.577 GB, free: 15.47 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/0.694, allocations: 194.6 kB / 1.577 GB, free: 15.28 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6942, allocations: 345.9 kB / 1.578 GB, free: 14.93 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.6948, allocations: 372.6 kB / 1.578 GB, free: 14.57 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.6961, allocations: 1.129 MB / 1.579 GB, free: 13.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.6977, allocations: 1.079 MB / 1.58 GB, free: 12 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6977, allocations: 0 / 1.58 GB, free: 12 MB / 1.279 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002292/0.7, allocations: 1.265 MB / 1.582 GB, free: 10.72 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.7, allocations: 8 kB / 1.582 GB, free: 10.71 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.7001, allocations: 20.05 kB / 1.582 GB, free: 10.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/0.7005, allocations: 130.5 kB / 1.582 GB, free: 10.56 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.7016, allocations: 227.6 kB / 1.582 GB, free: 10.34 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005408/0.707, allocations: 5.584 MB / 1.587 GB, free: 4.426 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.7082, allocations: 107.3 kB / 1.587 GB, free: 4.32 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.7083, allocations: 51.98 kB / 1.587 GB, free: 4.27 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.7096, allocations: 0.7048 MB / 1.588 GB, free: 3.559 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001209/0.7108, allocations: 1.126 MB / 1.589 GB, free: 2.184 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001555/0.7123, allocations: 1.067 MB / 1.59 GB, free: 1.004 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.7123, allocations: 0 / 1.59 GB, free: 1.004 MB / 1.279 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.00221/0.7145, allocations: 1.272 MB / 1.592 GB, free: 15.72 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.7146, allocations: 11.94 kB / 1.592 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.7146, allocations: 12 kB / 1.592 GB, free: 15.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.7148, allocations: 126.5 kB / 1.592 GB, free: 15.56 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008738/0.7157, allocations: 212.2 kB / 1.592 GB, free: 15.36 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004894/0.7206, allocations: 4.986 MB / 1.597 GB, free: 10.07 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.7219, allocations: 111.7 kB / 1.597 GB, free: 9.961 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/0.722, allocations: 44 kB / 1.597 GB, free: 9.918 MB / 1.295 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.0003259/0.7223, allocations: 251.9 kB / 1.597 GB, free: 9.664 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.7226, allocations: 131.2 kB / 1.597 GB, free: 9.535 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.7245, allocations: 1.048 MB / 1.598 GB, free: 8.469 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/0.726, allocations: 1.027 MB / 1.599 GB, free: 7.383 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.726, allocations: 4 kB / 1.599 GB, free: 7.379 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006048/0.7266, allocations: 222.9 kB / 1.6 GB, free: 7.16 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.7268, allocations: 23.92 kB / 1.6 GB, free: 7.137 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007307/0.7275, allocations: 23.98 kB / 1.6 GB, free: 7.113 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.7276, allocations: 44.91 kB / 1.6 GB, free: 7.07 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002612/0.7302, allocations: 1.169 MB / 1.601 GB, free: 5.883 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002282/0.7325, allocations: 1.556 MB / 1.602 GB, free: 4.312 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005816/0.7331, allocations: 387.7 kB / 1.603 GB, free: 3.93 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009464/0.734, allocations: 0.6411 MB / 1.603 GB, free: 3.281 MB / 1.295 GB Notification: Performance of Backend: time 2.81e-07/0.734, allocations: 0 / 1.603 GB, free: 3.281 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004876/0.7389, allocations: 2.334 MB / 1.606 GB, free: 0.8672 MB / 1.295 GB Notification: Performance of SimCode: time 0.5852/1.324, allocations: 3.672 MB / 1.609 GB, free: 276.9 MB / 1.295 GB Notification: Performance of Templates: time 0.05724/1.381, allocations: 38.22 MB / 1.646 GB, free: 262.4 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.PPM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_PPM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.667346014997747]