Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009979/0.009979, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.00198/0.00198, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3508, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002327/0.3532, allocations: 1.278 MB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3546, allocations: 0.8344 MB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.3547, allocations: 4 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.3547, allocations: 0 / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-05/0.3548, allocations: 7.922 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.3553, allocations: 127.4 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.45e-05/0.3554, allocations: 27.91 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.3554, allocations: 4 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.3555, allocations: 15.92 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.3556, allocations: 7.938 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3556, allocations: 0 / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.3559, allocations: 167.8 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.3559, allocations: 7.984 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.356, allocations: 11.94 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.3562, allocations: 127.6 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3562, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3563, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3563, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 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.0004767/0.3567, allocations: 359.2 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3568, allocations: 12.03 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.3568, allocations: 4.891 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.357, allocations: 168.3 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/0.3571, allocations: 34.25 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.3571, allocations: 8.375 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3572, allocations: 46.23 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3572, allocations: 3.938 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3573, allocations: 3.938 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3573, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.531e-05/0.3574, allocations: 15.98 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3576, allocations: 157.7 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3578, allocations: 50.5 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.3578, allocations: 16.86 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/0.3581, allocations: 174.3 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3582, allocations: 42.55 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3582, allocations: 4 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003166/0.3585, allocations: 65.62 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.3585, allocations: 59.33 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.3586, allocations: 93.86 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3586, allocations: 25.7 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.3587, allocations: 80.14 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.3587, allocations: 15.84 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.3588, allocations: 21.7 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3589, allocations: 322.8 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.359, allocations: 4 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/0.359, allocations: 11.98 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.3591, allocations: 28.84 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3591, allocations: 0 / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/0.3593, allocations: 57.62 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3593, allocations: 11.94 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3593, allocations: 4 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3593, allocations: 0.5156 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.3594, allocations: 7.984 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3594, allocations: 0 / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.3594, allocations: 7.953 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3594, allocations: 0 / 1.171 GB, free: 1.988 MB / 0.92 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.84e-05/0.3595, allocations: 109.8 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.3595, allocations: 3.938 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.3597, allocations: 85.08 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3597, allocations: 0 / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3598, allocations: 0 / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3598, allocations: 0 / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.3599, allocations: 157.7 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3599, allocations: 3.938 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.36, allocations: 8 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.36, allocations: 3.938 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.36, allocations: 0 / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.36, allocations: 8 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.36, allocations: 4 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.3602, allocations: 85.06 kB / 1.171 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.3603, allocations: 81.09 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3603, allocations: 3.938 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.754e-05/0.3603, allocations: 8 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.3604, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3604, allocations: 11.94 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.3604, allocations: 79.27 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3604, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002394/0.3607, allocations: 39.81 kB / 1.172 GB, free: 1.203 MB / 0.92 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.0002615/0.361, allocations: 135.1 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.3611, allocations: 23.98 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3611, allocations: 0 / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.401e-05/0.3612, allocations: 23.92 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3615, allocations: 8.094 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.3618, allocations: 119.1 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.362, allocations: 0.6768 MB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.129e-05/0.3621, allocations: 11.98 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.3621, allocations: 11.44 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of SimCode: time 3.1e-07/0.3621, allocations: 0 / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of Templates: time 0.003498/0.3656, allocations: 1.065 MB / 1.174 GB, free: 15.08 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches