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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001241/0.001241, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.001216/0.001216, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 62.86 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003652/1.021, allocations: 1.915 MB / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2354/1.256, allocations: 155.4 MB / 1.237 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/1.257, allocations: 7.938 kB / 1.237 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002264/1.257, allocations: 27.73 kB / 1.237 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004105/1.257, allocations: 75.41 kB / 1.237 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009628/1.258, allocations: 263.1 kB / 1.237 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004527/1.259, allocations: 263.1 kB / 1.237 GB, free: 488 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/1.259, allocations: 72.34 kB / 1.237 GB, free: 412 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/1.261, allocations: 249.5 kB / 1.237 GB, free: 192 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/1.261, allocations: 91.59 kB / 1.238 GB, free: 100 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/1.261, allocations: 16 kB / 1.238 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/1.261, allocations: 183.7 kB / 1.238 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.741e-05/1.261, allocations: 43.84 kB / 1.238 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/1.262, allocations: 87.58 kB / 1.238 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004827/1.262, allocations: 287.2 kB / 1.238 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.262, allocations: 0 / 1.238 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/1.262, allocations: 0 / 1.238 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.353e-05/1.262, allocations: 0 / 1.238 GB, free: 15.49 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.001184/1.263, allocations: 0.5261 MB / 1.239 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.263, allocations: 12.03 kB / 1.239 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008529/1.264, allocations: 83.67 kB / 1.239 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/1.265, allocations: 230.6 kB / 1.239 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/1.265, allocations: 46.03 kB / 1.239 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/1.265, allocations: 12 kB / 1.239 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/1.265, allocations: 266.5 kB / 1.239 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.266, allocations: 0 / 1.239 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/1.266, allocations: 4 kB / 1.239 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/1.266, allocations: 8 kB / 1.239 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/1.266, allocations: 171.8 kB / 1.239 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/1.268, allocations: 1.176 MB / 1.241 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/1.269, allocations: 206.7 kB / 1.241 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/1.269, allocations: 72.83 kB / 1.241 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/1.269, allocations: 0 / 1.241 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.269, allocations: 38.55 kB / 1.241 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/1.269, allocations: 0 / 1.241 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.002843/1.272, allocations: 0.6296 MB / 1.242 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.272, allocations: 59.34 kB / 1.242 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/1.272, allocations: 215.2 kB / 1.242 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/1.272, allocations: 25.7 kB / 1.242 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/1.272, allocations: 139.9 kB / 1.242 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/1.273, allocations: 43.45 kB / 1.242 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.273, allocations: 49.59 kB / 1.242 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.273, allocations: 330.8 kB / 1.242 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.273, allocations: 71.95 kB / 1.242 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/1.273, allocations: 129.7 kB / 1.243 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/1.274, allocations: 202.7 kB / 1.243 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.274, allocations: 0 / 1.243 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001667/1.275, allocations: 374.8 kB / 1.243 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.276, allocations: 8 kB / 1.243 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.276, allocations: 0 / 1.243 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/1.277, allocations: 165.5 kB / 1.243 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/1.277, allocations: 39.97 kB / 1.243 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004978/1.282, allocations: 3.254 MB / 1.246 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/1.282, allocations: 31.77 kB / 1.246 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/1.282, allocations: 16.05 kB / 1.247 GB, free: 6.246 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.0001868/1.283, allocations: 130.2 kB / 1.247 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/1.283, allocations: 19.72 kB / 1.247 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/1.284, allocations: 372.3 kB / 1.247 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.284, allocations: 4 kB / 1.247 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/1.284, allocations: 0 / 1.247 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.284, allocations: 0 / 1.247 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/1.285, allocations: 281.5 kB / 1.247 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.285, allocations: 0 / 1.247 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/1.285, allocations: 27.92 kB / 1.247 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008583/1.286, allocations: 149.5 kB / 1.247 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/1.286, allocations: 0 / 1.247 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005291/1.291, allocations: 3.301 MB / 1.251 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.291, allocations: 0 / 1.251 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/1.292, allocations: 430.8 kB / 1.251 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/1.292, allocations: 120.8 kB / 1.251 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/1.293, allocations: 0 / 1.251 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/1.293, allocations: 15.98 kB / 1.251 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/1.293, allocations: 23.97 kB / 1.251 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/1.293, allocations: 4 kB / 1.251 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002458/1.293, allocations: 159.2 kB / 1.251 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.619e-06/1.293, allocations: 0 / 1.251 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004668/1.294, allocations: 75.88 kB / 1.251 GB, free: 0.7656 MB / 0.9669 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.0002296/1.294, allocations: 119.2 kB / 1.252 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.295, allocations: 461.4 kB / 1.252 GB, free: 164 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.295, allocations: 0 / 1.252 GB, free: 164 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007871/1.296, allocations: 363.1 kB / 1.252 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/1.296, allocations: 55.95 kB / 1.252 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/1.298, allocations: 450.4 kB / 1.253 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/1.298, allocations: 0.7361 MB / 1.254 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/1.298, allocations: 23.42 kB / 1.254 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/1.298, allocations: 0 / 1.254 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of Templates: time 0.00868/1.307, allocations: 4.416 MB / 1.258 GB, free: 10.06 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=400 -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