Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001617, allocations: 108 kB / 16.41 MB, free: 6.492 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.001874/0.001874, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.38/2.38, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 67.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.098, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003992/1.102, allocations: 1.664 MB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2356/1.338, allocations: 149.7 MB / 1.236 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/1.338, allocations: 1.219 kB / 1.236 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/1.338, allocations: 28.86 kB / 1.236 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003071/1.339, allocations: 58.53 kB / 1.236 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/1.339, allocations: 189.4 kB / 1.237 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/1.339, allocations: 158.2 kB / 1.237 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/1.339, allocations: 33.23 kB / 1.237 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/1.341, allocations: 193.4 kB / 1.237 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/1.341, allocations: 64.5 kB / 1.237 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/1.341, allocations: 9.406 kB / 1.237 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/1.341, allocations: 156 kB / 1.237 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/1.341, allocations: 32.58 kB / 1.237 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/1.341, allocations: 50.92 kB / 1.237 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/1.342, allocations: 213 kB / 1.238 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.342, allocations: 1.156 kB / 1.238 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/1.342, allocations: 0 / 1.238 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.342, allocations: 0 / 1.238 GB, free: 3.039 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009556/1.343, allocations: 463.7 kB / 1.238 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.343, allocations: 8.75 kB / 1.238 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/1.344, allocations: 56.09 kB / 1.238 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/1.344, allocations: 211.6 kB / 1.238 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/1.344, allocations: 6.344 kB / 1.238 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/1.344, allocations: 5.719 kB / 1.238 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/1.344, allocations: 188.3 kB / 1.238 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.344, allocations: 5.062 kB / 1.238 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/1.344, allocations: 1.062 kB / 1.238 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/1.344, allocations: 2.094 kB / 1.238 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/1.345, allocations: 148.3 kB / 1.239 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/1.346, allocations: 0.8324 MB / 1.239 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/1.347, allocations: 125.4 kB / 1.24 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/1.347, allocations: 84.42 kB / 1.24 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/1.347, allocations: 1.219 kB / 1.24 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/1.347, allocations: 31.72 kB / 1.24 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/1.347, allocations: 0 / 1.24 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.00196/1.349, allocations: 462.3 kB / 1.24 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.349, allocations: 56.78 kB / 1.24 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/1.349, allocations: 155.3 kB / 1.24 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/1.349, allocations: 25.7 kB / 1.24 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/1.349, allocations: 108.4 kB / 1.24 GB, free: 500 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/1.349, allocations: 31.83 kB / 1.24 GB, free: 472 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/1.349, allocations: 35.31 kB / 1.24 GB, free: 440 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.349, allocations: 317.6 kB / 1.241 GB, free: 116 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/1.35, allocations: 78.3 kB / 1.241 GB, free: 72 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/1.35, allocations: 96.11 kB / 1.241 GB, free: 0 / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/1.351, allocations: 184.1 kB / 1.241 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.351, allocations: 5.312 kB / 1.241 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001063/1.352, allocations: 282.7 kB / 1.241 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.352, allocations: 9.531 kB / 1.241 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.352, allocations: 1.312 kB / 1.241 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/1.352, allocations: 81.55 kB / 1.241 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/1.353, allocations: 36.61 kB / 1.242 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/1.355, allocations: 1.663 MB / 1.243 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/1.355, allocations: 26.94 kB / 1.243 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/1.355, allocations: 11.77 kB / 1.243 GB, free: 14.02 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001336/1.355, allocations: 126 kB / 1.243 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/1.355, allocations: 9.156 kB / 1.243 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/1.356, allocations: 319.3 kB / 1.244 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.356, allocations: 1.469 kB / 1.244 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/1.356, allocations: 0 / 1.244 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.356, allocations: 0 / 1.244 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/1.357, allocations: 241.3 kB / 1.244 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.357, allocations: 0 / 1.244 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/1.357, allocations: 32.83 kB / 1.244 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/1.357, allocations: 74.31 kB / 1.244 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/1.357, allocations: 9.062 kB / 1.244 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/1.36, allocations: 1.679 MB / 1.246 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.36, allocations: 1.438 kB / 1.246 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.361, allocations: 387.8 kB / 1.246 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/1.361, allocations: 99.75 kB / 1.246 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/1.361, allocations: 9.328 kB / 1.246 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/1.361, allocations: 20.64 kB / 1.246 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/1.361, allocations: 13.45 kB / 1.246 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/1.361, allocations: 10.7 kB / 1.246 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.026e-05/1.361, allocations: 108.5 kB / 1.246 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/1.361, allocations: 0 / 1.246 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003606/1.362, allocations: 45.09 kB / 1.246 GB, free: 11.26 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002118/1.362, allocations: 121.8 kB / 1.246 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009452/1.363, allocations: 308.2 kB / 1.247 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.363, allocations: 0 / 1.247 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005919/1.363, allocations: 235.1 kB / 1.247 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/1.364, allocations: 26.45 kB / 1.247 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/1.365, allocations: 337.5 kB / 1.247 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/1.365, allocations: 0.7134 MB / 1.248 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/1.365, allocations: 22.45 kB / 1.248 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/1.365, allocations: 1.156 kB / 1.248 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of Templates: time 0.005202/1.37, allocations: 2.74 MB / 1.251 GB, free: 7.055 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches