Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001096/0.001096, allocations: 191 kB / 17.29 MB, free: 5.516 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 61.17 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2643, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002517/0.2668, allocations: 1.489 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.268, allocations: 0.803 MB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.268, allocations: 0 / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.2681, allocations: 3.938 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.2681, allocations: 15.86 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.2685, allocations: 127.5 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.949e-05/0.2686, allocations: 55.8 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.2687, allocations: 19.91 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.2688, allocations: 19.92 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.2688, allocations: 23.92 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2688, allocations: 4 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.2692, allocations: 167.8 kB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.2692, allocations: 19.92 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.2692, allocations: 15.94 kB / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.2695, allocations: 155.6 kB / 0.954 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2695, allocations: 3.938 kB / 0.954 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2695, allocations: 0 / 0.954 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.2695, allocations: 0 / 0.954 GB, free: 5.125 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000501/0.27, allocations: 399.1 kB / 0.9543 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2701, allocations: 8.031 kB / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.2701, allocations: 12.84 kB / 0.9544 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2702, allocations: 168.4 kB / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.2702, allocations: 384 / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2703, allocations: 4.375 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.2705, allocations: 78.19 kB / 0.9546 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2705, allocations: 192 / 0.9546 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2705, allocations: 3.938 kB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2705, allocations: 0 / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.2708, allocations: 75.86 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.2712, allocations: 288.7 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.2714, allocations: 54.55 kB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.2715, allocations: 40.91 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.2717, allocations: 93.03 kB / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2717, allocations: 38.56 kB / 0.9552 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.2717, allocations: 0 / 0.9552 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004938/0.2722, allocations: 133.7 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.2723, allocations: 55.39 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.2724, allocations: 121.8 kB / 0.9555 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2724, allocations: 25.7 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.2725, allocations: 88.14 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.2725, allocations: 7.906 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.2725, allocations: 21.7 kB / 0.9556 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2727, allocations: 318.8 kB / 0.9559 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.2728, allocations: 31.95 kB / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.273, allocations: 35.91 kB / 0.956 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.2732, allocations: 68.78 kB / 0.956 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2732, allocations: 4 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002973/0.2735, allocations: 97.53 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2736, allocations: 7.938 kB / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.2736, allocations: 0 / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2736, allocations: 4 kB / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2737, allocations: 19.97 kB / 0.9562 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2737, allocations: 0 / 0.9562 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.2738, allocations: 11.98 kB / 0.9562 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2738, allocations: 0 / 0.9562 GB, free: 2.609 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.007e-05/0.2739, allocations: 123.7 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.2739, allocations: 7.844 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.2743, allocations: 109.5 kB / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2743, allocations: 0 / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2743, allocations: 0 / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2743, allocations: 4 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.2745, allocations: 173.6 kB / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2745, allocations: 0 / 0.9566 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.922e-05/0.2746, allocations: 11.98 kB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2746, allocations: 8 kB / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2746, allocations: 3.984 kB / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2746, allocations: 0 / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2746, allocations: 0 / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.275, allocations: 195.4 kB / 0.9568 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.275, allocations: 92.95 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.275, allocations: 0 / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2751, allocations: 15.97 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.2752, allocations: 4 kB / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2752, allocations: 0 / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.2753, allocations: 95.7 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2753, allocations: 0 / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002602/0.2755, allocations: 28 kB / 0.957 GB, free: 1.648 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001995/0.2757, allocations: 139.2 kB / 0.9571 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.2761, allocations: 71.86 kB / 0.9572 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.2761, allocations: 4 kB / 0.9572 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.2762, allocations: 36.3 kB / 0.9572 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.2765, allocations: 18.11 kB / 0.9573 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.2768, allocations: 151.2 kB / 0.9574 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2771, allocations: 0.6845 MB / 0.9581 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.2772, allocations: 11.98 kB / 0.9581 GB, free: 496 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.2772, allocations: 11.44 kB / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.2772, allocations: 0 / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of Templates: time 0.003732/0.2809, allocations: 1.366 MB / 0.9594 GB, free: 15.12 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches