Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0008247/0.0008248, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0008622/0.0008625, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.813/2.813, allocations: 462.6 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00055/0.0005501, allocations: 14.97 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3412, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001505/0.3428, allocations: 1.005 MB / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3441, allocations: 0.8374 MB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.3442, allocations: 0 / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.3442, allocations: 3.984 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.3443, allocations: 7.938 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.3448, allocations: 99.61 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.254e-05/0.3449, allocations: 31.8 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.3449, allocations: 7.984 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.345, allocations: 15.94 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.3451, allocations: 11.98 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3451, allocations: 3.938 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.3454, allocations: 171.7 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.3455, allocations: 7.984 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.3455, allocations: 33.64 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.3458, allocations: 120.1 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3458, allocations: 0 / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.295e-06/0.3458, allocations: 4 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.3458, allocations: 0 / 1.061 GB, free: 3.121 MB / 0.8106 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.0004198/0.3462, allocations: 363.3 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3463, allocations: 8.031 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.3463, allocations: 8.922 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3464, allocations: 168.2 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/0.3465, allocations: 30.27 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.3465, allocations: 384 / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3467, allocations: 42.25 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3467, allocations: 7.938 kB / 1.062 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.3467, allocations: 3.984 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3467, allocations: 0 / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.616e-05/0.3468, allocations: 19.98 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.347, allocations: 153.7 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.3472, allocations: 50.5 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.3473, allocations: 20.84 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.3476, allocations: 182.3 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3476, allocations: 30.56 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.3476, allocations: 0 / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002491/0.3478, allocations: 69.61 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3479, allocations: 55.34 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.348, allocations: 105.8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.348, allocations: 25.7 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.348, allocations: 80.14 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.3481, allocations: 11.81 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.3481, allocations: 13.72 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.3482, allocations: 314.8 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.3482, allocations: 8 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-05/0.3483, allocations: 11.98 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/0.3484, allocations: 24.86 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3484, allocations: 7.922 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001579/0.3486, allocations: 57.69 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3486, allocations: 15.81 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3486, allocations: 0 / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3486, allocations: 0 / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/0.3487, allocations: 8 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3487, allocations: 3.984 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.3487, allocations: 15.94 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.3488, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 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 7.121e-05/0.3488, allocations: 109.8 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.3489, allocations: 7.938 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.349, allocations: 61.17 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.349, allocations: 4 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3491, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3491, allocations: 3.938 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.3492, allocations: 161.6 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3492, allocations: 0 / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.3493, allocations: 11.98 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3493, allocations: 3.938 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3493, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3493, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3493, allocations: 0 / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.3494, allocations: 81.67 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3495, allocations: 85.16 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3495, allocations: 11.92 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.3496, allocations: 3.984 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.3496, allocations: 4 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.3496, allocations: 0 / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.3497, allocations: 79.28 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3497, allocations: 3.938 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002386/0.3499, allocations: 39.92 kB / 1.063 GB, free: 216 kB / 0.8106 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.000248/0.3502, allocations: 143.1 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.3503, allocations: 23.98 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3503, allocations: 0 / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.418e-05/0.3504, allocations: 16 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.3506, allocations: 11.92 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.3509, allocations: 142.4 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3512, allocations: 0.677 MB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.377e-05/0.3512, allocations: 7.859 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.3513, allocations: 15.44 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3513, allocations: 4 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of Templates: time 0.003478/0.3548, allocations: 1.022 MB / 1.065 GB, free: 14.09 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches