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.009241/0.009242, allocations: 100.4 kB / 15.87 MB, free: 5.867 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.001739/0.001739, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.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.363/2.363, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7302, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003031/0.7333, allocations: 1.546 MB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.7346, allocations: 0.8256 MB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.7347, allocations: 4 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.234e-05/0.7347, allocations: 3.938 kB / 0.9519 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.774e-05/0.7348, allocations: 9.609 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.7353, allocations: 109.5 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.268e-05/0.7355, allocations: 57.34 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.7356, allocations: 17.45 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.7356, allocations: 19.3 kB / 0.9521 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.7357, allocations: 23.72 kB / 0.9521 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.7357, allocations: 2.812 kB / 0.9521 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.7361, allocations: 173.1 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.7362, allocations: 9.312 kB / 0.9523 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.7362, allocations: 22.14 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.7365, allocations: 107.3 kB / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7365, allocations: 0 / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7365, allocations: 0 / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.7365, allocations: 4 kB / 0.9524 GB, free: 6.992 MB / 0.7169 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.0005589/0.7371, allocations: 398.1 kB / 0.9528 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.7371, allocations: 10.25 kB / 0.9528 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.7372, allocations: 7 kB / 0.9528 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.869e-05/0.7373, allocations: 170.8 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.7373, allocations: 1.812 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.7373, allocations: 7.406 kB / 0.953 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.7376, allocations: 81.86 kB / 0.9531 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.7376, allocations: 8.125 kB / 0.9531 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.7376, allocations: 3.938 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7376, allocations: 1.438 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.7379, allocations: 65.92 kB / 0.9531 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.7383, allocations: 287.2 kB / 0.9534 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.7386, allocations: 52.39 kB / 0.9535 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.7387, allocations: 43.66 kB / 0.9535 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.7389, allocations: 93.47 kB / 0.9536 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.7389, allocations: 31.94 kB / 0.9536 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.7389, allocations: 0 / 0.9536 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005451/0.7395, allocations: 131.1 kB / 0.9538 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.7395, allocations: 55.41 kB / 0.9538 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.7396, allocations: 120.1 kB / 0.9539 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.7396, allocations: 26.73 kB / 0.954 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.7397, allocations: 86.11 kB / 0.954 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.7397, allocations: 17.83 kB / 0.9541 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.7398, allocations: 16.03 kB / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.7398, allocations: 320.1 kB / 0.9544 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.74, allocations: 42.77 kB / 0.9544 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.7401, allocations: 25.53 kB / 0.9544 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.7404, allocations: 67.66 kB / 0.9545 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.7404, allocations: 0 / 0.9545 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.7407, allocations: 110.8 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.7407, allocations: 4.656 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7407, allocations: 0 / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.7408, allocations: 1 kB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.7409, allocations: 21.88 kB / 0.9546 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7409, allocations: 1.719 kB / 0.9546 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.741, allocations: 14.64 kB / 0.9546 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.741, allocations: 0 / 0.9546 GB, free: 4.863 MB / 0.7169 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 5.811e-05/0.7411, allocations: 116.4 kB / 0.9548 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.7411, allocations: 6.781 kB / 0.9548 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.7415, allocations: 104.6 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7415, allocations: 5.094 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7415, allocations: 0 / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7415, allocations: 1.5 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.7416, allocations: 181.4 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7417, allocations: 1.406 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.7418, allocations: 13.7 kB / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.7418, allocations: 5.078 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.7418, allocations: 3.938 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.7418, allocations: 1.156 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7418, allocations: 0 / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.7421, allocations: 192.7 kB / 0.9553 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.7422, allocations: 82.83 kB / 0.9553 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.7422, allocations: 5.375 kB / 0.9553 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.7423, allocations: 21.69 kB / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.7424, allocations: 2.312 kB / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.7424, allocations: 1.25 kB / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.7424, allocations: 92.11 kB / 0.9554 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7424, allocations: 0.9375 kB / 0.9555 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003018/0.7427, allocations: 34.66 kB / 0.9555 GB, free: 4.051 MB / 0.7169 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.0002168/0.743, allocations: 123.7 kB / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.7433, allocations: 75.27 kB / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7433, allocations: 0 / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.7435, allocations: 37.17 kB / 0.9557 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.7438, allocations: 19.5 kB / 0.9557 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.7442, allocations: 185.2 kB / 0.9559 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.7443, allocations: 0.682 MB / 0.9566 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.7444, allocations: 17.78 kB / 0.9566 GB, free: 3 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.7444, allocations: 0 / 0.9566 GB, free: 3 MB / 0.7169 GB Notification: Performance of Templates: time 0.003329/0.7477, allocations: 1.205 MB / 0.9578 GB, free: 2.383 MB / 0.7169 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 -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