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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001401/0.001401, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001743/0.001743, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.2 MB / 0.6644 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 72.11 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9212/0.9226, allocations: 140.4 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.004428/0.9271, allocations: 1.55 MB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.9294, allocations: 0.8041 MB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.945e-05/0.9295, allocations: 1.312 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.327e-05/0.9296, allocations: 3.938 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.9297, allocations: 9.297 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009721/0.9307, allocations: 115.1 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.9309, allocations: 57.2 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.9311, allocations: 15.33 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.9313, allocations: 14.81 kB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.9314, allocations: 31.58 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.9314, allocations: 3.906 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006312/0.932, allocations: 172.2 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.9321, allocations: 21.05 kB / 0.9518 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.9321, allocations: 18.02 kB / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.9325, allocations: 150 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.9325, allocations: 0 / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9326, allocations: 1.5 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.9326, allocations: 0 / 0.952 GB, free: 6.969 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.0006472/0.9332, allocations: 397 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.9333, allocations: 10.19 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.9333, allocations: 11.47 kB / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.9335, allocations: 183.5 kB / 0.9525 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.9335, allocations: 1.75 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.9335, allocations: 3.062 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.9338, allocations: 77.17 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.9339, allocations: 4.125 kB / 0.9526 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.9339, allocations: 5.375 kB / 0.9526 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.9339, allocations: 0 / 0.9526 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.9342, allocations: 69.89 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.9346, allocations: 287.8 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.9348, allocations: 52.2 kB / 0.953 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.935, allocations: 39.66 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.9352, allocations: 93.28 kB / 0.9532 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.9352, allocations: 31.62 kB / 0.9532 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.9352, allocations: 0 / 0.9532 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005364/0.9357, allocations: 139.2 kB / 0.9533 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.9358, allocations: 52.28 kB / 0.9534 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.9359, allocations: 116.2 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.9359, allocations: 25.7 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.9359, allocations: 86.45 kB / 0.9536 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.936, allocations: 17.89 kB / 0.9536 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.936, allocations: 15.94 kB / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.9361, allocations: 317.1 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.9362, allocations: 32.58 kB / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.9363, allocations: 30.44 kB / 0.954 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.9366, allocations: 75.22 kB / 0.9541 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9366, allocations: 0 / 0.9541 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000312/0.9369, allocations: 98.44 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.937, allocations: 6.656 kB / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.937, allocations: 4 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.937, allocations: 1.594 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.9371, allocations: 22.97 kB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.9371, allocations: 0 / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.9372, allocations: 10.73 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.9372, allocations: 1.031 kB / 0.9542 GB, free: 4.848 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 6.729e-05/0.9373, allocations: 112.8 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.9373, allocations: 9.156 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.9377, allocations: 110 kB / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.9377, allocations: 5.344 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9377, allocations: 48 / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.9377, allocations: 3.984 kB / 0.9544 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.9379, allocations: 183 kB / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9379, allocations: 0 / 0.9546 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.938, allocations: 22.61 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.938, allocations: 3.984 kB / 0.9546 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.938, allocations: 5.531 kB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.938, allocations: 0 / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.938, allocations: 0 / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.9383, allocations: 197.3 kB / 0.9548 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.9384, allocations: 82.2 kB / 0.9549 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.9384, allocations: 1.094 kB / 0.9549 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.9385, allocations: 18.78 kB / 0.9549 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.9385, allocations: 2.25 kB / 0.9549 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.9386, allocations: 1.125 kB / 0.9549 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.949e-05/0.9386, allocations: 92.36 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9386, allocations: 0 / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003073/0.9389, allocations: 39.25 kB / 0.955 GB, free: 4.02 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.0002177/0.9391, allocations: 123.9 kB / 0.9552 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.9395, allocations: 67.39 kB / 0.9552 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9395, allocations: 0 / 0.9552 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.9396, allocations: 44.7 kB / 0.9553 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.94, allocations: 13.56 kB / 0.9553 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.9403, allocations: 158.3 kB / 0.9554 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.9405, allocations: 0.6886 MB / 0.9561 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.9405, allocations: 2.344 kB / 0.9561 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.9406, allocations: 13.81 kB / 0.9561 GB, free: 3 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9406, allocations: 0 / 0.9561 GB, free: 3 MB / 0.7169 GB Notification: Performance of Templates: time 0.004172/0.9447, allocations: 1.263 MB / 0.9574 GB, free: 2.352 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/jenkins/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