Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001764/0.001764, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.18 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.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 69.22 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2699, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002463/0.2725, allocations: 1.275 MB / 0.9524 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2737, allocations: 0.8362 MB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.2737, allocations: 0 / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.2737, allocations: 0 / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.2738, allocations: 7.938 kB / 0.9532 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.2742, allocations: 135.4 kB / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.2743, allocations: 23.92 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.2743, allocations: 0 / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.2743, allocations: 15.88 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.196e-05/0.2744, allocations: 11.98 kB / 0.9534 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2744, allocations: 0 / 0.9534 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.2747, allocations: 167.8 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.2747, allocations: 0 / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.2747, allocations: 15.92 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.275, allocations: 115.8 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.275, allocations: 0 / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.275, allocations: 4 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.275, allocations: 3.938 kB / 0.9537 GB, free: 5.461 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003804/0.2754, allocations: 367.3 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2754, allocations: 12.03 kB / 0.954 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.2754, allocations: 0.9375 kB / 0.954 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.171e-05/0.2755, allocations: 176.2 kB / 0.9542 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.2756, allocations: 30.27 kB / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2756, allocations: 384 / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.2757, allocations: 50.25 kB / 0.9543 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2758, allocations: 3.938 kB / 0.9543 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2758, allocations: 0 / 0.9543 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2758, allocations: 0 / 0.9543 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.2759, allocations: 23.97 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.276, allocations: 153.7 kB / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.2762, allocations: 50.55 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.2763, allocations: 20.94 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.2766, allocations: 178.2 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.2766, allocations: 34.56 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2766, allocations: 0 / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002414/0.2768, allocations: 69.61 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.2769, allocations: 59.34 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.2769, allocations: 93.86 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.277, allocations: 29.7 kB / 0.9549 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.277, allocations: 84.12 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.277, allocations: 11.81 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.2771, allocations: 13.72 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.2772, allocations: 310.8 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.2772, allocations: 19.98 kB / 0.9554 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/0.2773, allocations: 4 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.169e-05/0.2774, allocations: 32.84 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2774, allocations: 0 / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001222/0.2775, allocations: 57.61 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2775, allocations: 7.938 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2775, allocations: 0 / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.2775, allocations: 4 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.17e-05/0.2776, allocations: 12 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2776, allocations: 0 / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.2776, allocations: 11.92 kB / 0.9555 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.2776, allocations: 0 / 0.9555 GB, free: 3.309 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 (4): * Single equations (assignments): 4 * 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 5.522e-05/0.2777, allocations: 105.8 kB / 0.9556 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.2777, allocations: 7.938 kB / 0.9556 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.2779, allocations: 80.94 kB / 0.9557 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2779, allocations: 0 / 0.9557 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2779, allocations: 7.938 kB / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2779, allocations: 0 / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.799e-05/0.278, allocations: 162.2 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.278, allocations: 4 kB / 0.9558 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.2781, allocations: 11.98 kB / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2781, allocations: 3.938 kB / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.2781, allocations: 0 / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2781, allocations: 0 / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.2781, allocations: 4 kB / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.2783, allocations: 81.11 kB / 0.9559 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.2783, allocations: 85.09 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.2783, allocations: 3.938 kB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.2784, allocations: 4 kB / 0.956 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.2784, allocations: 7.984 kB / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2784, allocations: 3.938 kB / 0.956 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.095e-05/0.2785, allocations: 79.28 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2785, allocations: 0 / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002204/0.2787, allocations: 39.92 kB / 0.9562 GB, free: 2.523 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 (4): * Single equations (assignments): 4 * 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.0001883/0.2789, allocations: 131.2 kB / 0.9563 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.279, allocations: 31.97 kB / 0.9563 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2791, allocations: 0 / 0.9563 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.2791, allocations: 15.94 kB / 0.9563 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.2793, allocations: 10.05 kB / 0.9563 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.2796, allocations: 127.1 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2798, allocations: 0.6805 MB / 0.9571 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.497e-05/0.2798, allocations: 4 kB / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.2799, allocations: 15.44 kB / 0.9571 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2799, allocations: 3.938 kB / 0.9571 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of Templates: time 0.002992/0.2829, allocations: 1.059 MB / 0.9582 GB, free: 408 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches