Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.00168, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001986/0.001986, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 68.36 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4078, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00374/0.4116, allocations: 1.965 MB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1893/0.6009, allocations: 153.1 MB / 1.204 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.6012, allocations: 7.938 kB / 1.204 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.6014, allocations: 11.86 kB / 1.204 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.6017, allocations: 71.55 kB / 1.204 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.6024, allocations: 227.4 kB / 1.204 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.6027, allocations: 255.1 kB / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.6029, allocations: 66.58 kB / 1.204 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.6049, allocations: 225 kB / 1.204 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.6051, allocations: 91.59 kB / 1.204 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.6051, allocations: 8 kB / 1.204 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.6055, allocations: 179.7 kB / 1.205 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.6056, allocations: 39.83 kB / 1.205 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.6057, allocations: 91.52 kB / 1.205 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.6061, allocations: 275.2 kB / 1.205 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6061, allocations: 0 / 1.205 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.31e-07/0.6061, allocations: 0 / 1.205 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6061, allocations: 0 / 1.205 GB, free: 11.66 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001045/0.6071, allocations: 0.5223 MB / 1.206 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.6072, allocations: 12.03 kB / 1.206 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009322/0.6081, allocations: 83.72 kB / 1.206 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.6084, allocations: 240.6 kB / 1.206 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.714e-05/0.6086, allocations: 38.03 kB / 1.206 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.6086, allocations: 12 kB / 1.206 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005814/0.6092, allocations: 270.5 kB / 1.206 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.6092, allocations: 0 / 1.206 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.6092, allocations: 12 kB / 1.206 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6093, allocations: 4 kB / 1.206 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.6097, allocations: 163.8 kB / 1.206 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.6115, allocations: 1.177 MB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.6123, allocations: 210.6 kB / 1.208 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.6125, allocations: 72.81 kB / 1.208 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.6125, allocations: 0 / 1.208 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6126, allocations: 34.56 kB / 1.208 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.6126, allocations: 4 kB / 1.208 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.002812/0.6154, allocations: 0.6339 MB / 1.208 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.6155, allocations: 55.34 kB / 1.208 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.6158, allocations: 218.8 kB / 1.209 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.6158, allocations: 25.7 kB / 1.209 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.6159, allocations: 140 kB / 1.209 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.616, allocations: 51.38 kB / 1.209 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.249e-05/0.6161, allocations: 41.69 kB / 1.209 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6162, allocations: 330.8 kB / 1.209 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.6164, allocations: 67.94 kB / 1.209 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.6167, allocations: 135.6 kB / 1.209 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.6172, allocations: 198 kB / 1.21 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6172, allocations: 3.938 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001537/0.6187, allocations: 378.6 kB / 1.21 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6187, allocations: 8 kB / 1.21 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6188, allocations: 0 / 1.21 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.62, allocations: 165.7 kB / 1.21 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.6202, allocations: 39.91 kB / 1.21 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/0.6243, allocations: 3.019 MB / 1.213 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.6247, allocations: 39.66 kB / 1.213 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.6248, allocations: 8 kB / 1.213 GB, free: 2.648 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.6249, allocations: 131.3 kB / 1.213 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.625, allocations: 27.81 kB / 1.213 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.6264, allocations: 362.5 kB / 1.214 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6264, allocations: 4 kB / 1.214 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.6264, allocations: 3.938 kB / 1.214 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6264, allocations: 3.984 kB / 1.214 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.6268, allocations: 273.4 kB / 1.214 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6268, allocations: 4 kB / 1.214 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.627, allocations: 27.86 kB / 1.214 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.628, allocations: 157.5 kB / 1.214 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.628, allocations: 8.141 kB / 1.214 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003847/0.6319, allocations: 3.076 MB / 1.217 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6319, allocations: 0 / 1.217 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.6333, allocations: 440.7 kB / 1.218 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.6334, allocations: 112.8 kB / 1.218 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.6334, allocations: 7.906 kB / 1.218 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.6337, allocations: 15.92 kB / 1.218 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.6338, allocations: 23.97 kB / 1.218 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6339, allocations: 4 kB / 1.218 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001966/0.6341, allocations: 163.2 kB / 1.218 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6341, allocations: 0 / 1.218 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004456/0.6345, allocations: 72 kB / 1.218 GB, free: 13.37 MB / 0.9825 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002408/0.6348, allocations: 111.2 kB / 1.218 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.6359, allocations: 439.9 kB / 1.218 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6359, allocations: 0 / 1.218 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.6366, allocations: 357.2 kB / 1.219 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.6371, allocations: 55.89 kB / 1.219 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.6381, allocations: 491.4 kB / 1.219 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.6384, allocations: 0.7439 MB / 1.22 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.6387, allocations: 37.88 kB / 1.22 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.6387, allocations: 19.42 kB / 1.22 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.6387, allocations: 4 kB / 1.22 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of Templates: time 0.009763/0.6485, allocations: 4.963 MB / 1.225 GB, free: 6.137 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches