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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00878/0.00878, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001996/0.001996, allocations: 189.4 kB / 16.79 MB, free: 5.809 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.423/1.423, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.98 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3423, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003643/0.346, allocations: 1.969 MB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1741/0.5201, allocations: 153.1 MB / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.5204, allocations: 3.938 kB / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.5207, allocations: 23.84 kB / 1.204 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.521, allocations: 67.55 kB / 1.204 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.5218, allocations: 231.4 kB / 1.205 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.5223, allocations: 251.1 kB / 1.205 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.5225, allocations: 76 kB / 1.205 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.5247, allocations: 221.4 kB / 1.205 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.525, allocations: 87.59 kB / 1.205 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.525, allocations: 12 kB / 1.205 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.5255, allocations: 179.7 kB / 1.205 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.5256, allocations: 35.84 kB / 1.205 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.5257, allocations: 95.44 kB / 1.205 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.5261, allocations: 195.6 kB / 1.206 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.5261, allocations: 4 kB / 1.206 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5261, allocations: 3.938 kB / 1.206 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.5261, allocations: 0 / 1.206 GB, free: 11.16 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.001117/0.5272, allocations: 0.5301 MB / 1.206 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5273, allocations: 11.97 kB / 1.206 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009734/0.5283, allocations: 79.72 kB / 1.206 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.5286, allocations: 235.5 kB / 1.206 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.723e-05/0.5287, allocations: 38.03 kB / 1.206 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.5288, allocations: 16 kB / 1.206 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/0.5295, allocations: 262.5 kB / 1.207 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5295, allocations: 0 / 1.207 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.5296, allocations: 12 kB / 1.207 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.5296, allocations: 4 kB / 1.207 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.53, allocations: 163.8 kB / 1.207 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.5319, allocations: 1.181 MB / 1.208 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/0.5327, allocations: 206.7 kB / 1.208 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.5329, allocations: 76.75 kB / 1.208 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.5329, allocations: 4 kB / 1.208 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.533, allocations: 42.5 kB / 1.208 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.533, allocations: 0 / 1.208 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.00274/0.5357, allocations: 0.6219 MB / 1.209 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.5358, allocations: 55.41 kB / 1.209 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.536, allocations: 218.8 kB / 1.209 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.5361, allocations: 25.7 kB / 1.209 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.5362, allocations: 144 kB / 1.209 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.5362, allocations: 47.33 kB / 1.209 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.5364, allocations: 45.69 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5365, allocations: 330.8 kB / 1.21 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.5368, allocations: 67.94 kB / 1.21 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.5371, allocations: 129.9 kB / 1.21 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.5375, allocations: 201.3 kB / 1.21 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5375, allocations: 4 kB / 1.21 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001456/0.539, allocations: 370.9 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.539, allocations: 13.59 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.539, allocations: 0 / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.5401, allocations: 165.5 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.5404, allocations: 39.97 kB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.5444, allocations: 3.026 MB / 1.214 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.5448, allocations: 39.66 kB / 1.214 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.5448, allocations: 8 kB / 1.214 GB, free: 2.148 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.0001668/0.545, allocations: 137.8 kB / 1.214 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.5451, allocations: 19.75 kB / 1.214 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.5465, allocations: 368.5 kB / 1.214 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5465, allocations: 0 / 1.214 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5465, allocations: 3.938 kB / 1.214 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.5465, allocations: 3.984 kB / 1.214 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.5469, allocations: 277.4 kB / 1.215 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5469, allocations: 0 / 1.215 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.547, allocations: 23.98 kB / 1.215 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000995/0.548, allocations: 161.5 kB / 1.215 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.548, allocations: 4 kB / 1.215 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003699/0.5517, allocations: 3.076 MB / 1.218 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5518, allocations: 8 kB / 1.218 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.5531, allocations: 430.5 kB / 1.218 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.5532, allocations: 112.8 kB / 1.218 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.5533, allocations: 7.906 kB / 1.218 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.5536, allocations: 23.92 kB / 1.218 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.5537, allocations: 19.97 kB / 1.218 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.5537, allocations: 4 kB / 1.218 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002095/0.5539, allocations: 159.2 kB / 1.218 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5539, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004579/0.5544, allocations: 72 kB / 1.219 GB, free: 12.88 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.0002168/0.5546, allocations: 111.8 kB / 1.219 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.5557, allocations: 437.5 kB / 1.219 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5558, allocations: 4 kB / 1.219 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007054/0.5565, allocations: 358.6 kB / 1.219 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.5569, allocations: 52.33 kB / 1.219 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.5581, allocations: 0.5121 MB / 1.22 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.5584, allocations: 0.7362 MB / 1.221 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.5585, allocations: 23.42 kB / 1.221 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.5585, allocations: 0 / 1.221 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of Templates: time 0.007446/0.566, allocations: 4.411 MB / 1.225 GB, free: 6.145 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/jenkins1/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