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.001573/0.001573, allocations: 105.9 kB / 16.27 MB, free: 6.109 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.001735/0.001735, allocations: 190.2 kB / 17.2 MB, free: 5.719 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.608/2.608, allocations: 437 MB / 0.711 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 67.36 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3424, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002965/0.3454, allocations: 1.26 MB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3469, allocations: 0.8318 MB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.347, allocations: 0 / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.347, allocations: 3.938 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.3471, allocations: 15.92 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.3477, allocations: 119.5 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.3478, allocations: 31.84 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.3478, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.3479, allocations: 15.92 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.3479, allocations: 11.94 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.348, allocations: 0 / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.3483, allocations: 167.8 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3484, allocations: 7.984 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.3484, allocations: 11.94 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.3487, allocations: 120 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3487, allocations: 0 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3487, allocations: 0 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3487, allocations: 3.938 kB / 1.02 GB, free: 8.012 MB / 0.795 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.0004734/0.3492, allocations: 363.4 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3492, allocations: 12.92 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.3493, allocations: 4.922 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3494, allocations: 168.3 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.3495, allocations: 30.27 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.3495, allocations: 384 / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3497, allocations: 46.25 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3497, allocations: 3.938 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3497, allocations: 3.984 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.3497, allocations: 7.938 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.3498, allocations: 19.98 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.35, allocations: 157.7 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.3502, allocations: 46.56 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.3503, allocations: 12.86 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.3506, allocations: 178.3 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3507, allocations: 38.56 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.3507, allocations: 0 / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002595/0.351, allocations: 73.48 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.351, allocations: 55.41 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.3511, allocations: 97.84 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3511, allocations: 29.7 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.3512, allocations: 80.14 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.3512, allocations: 11.81 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.3512, allocations: 17.72 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3514, allocations: 314.8 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.3514, allocations: 12 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.411e-05/0.3515, allocations: 7.984 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.3516, allocations: 41.19 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3516, allocations: 0 / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001366/0.3517, allocations: 53.73 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3517, allocations: 10.91 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3518, allocations: 3.984 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3518, allocations: 4 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.3518, allocations: 7.984 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3519, allocations: 3.984 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.3519, allocations: 7.938 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3519, allocations: 4 kB / 1.022 GB, free: 5.855 MB / 0.795 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 8.165e-05/0.352, allocations: 105.8 kB / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.352, allocations: 15.84 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.3522, allocations: 65.11 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3522, allocations: 4 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3522, allocations: 0 / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3522, allocations: 0 / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.3524, allocations: 153.7 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3524, allocations: 3.984 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.3524, allocations: 8 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3524, allocations: 3.938 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3524, allocations: 8 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3524, allocations: 0 / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3525, allocations: 0 / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.3526, allocations: 85.05 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.3527, allocations: 81.11 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3527, allocations: 3.938 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.3528, allocations: 7.984 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.3528, allocations: 8 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.3528, allocations: 0 / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.3529, allocations: 83.28 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3529, allocations: 0 / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002437/0.3531, allocations: 35.92 kB / 1.023 GB, free: 5.09 MB / 0.795 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.0002394/0.3534, allocations: 143.1 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.3535, allocations: 35.92 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3536, allocations: 4 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.3536, allocations: 11.98 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.3539, allocations: 9.891 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.3542, allocations: 144.8 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.3545, allocations: 0.6768 MB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.3545, allocations: 15.44 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3545, allocations: 0 / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of Templates: time 0.002636/0.3572, allocations: 0.9994 MB / 1.025 GB, free: 2.992 MB / 0.795 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/jenkins1/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