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.001069/0.001069, allocations: 114.6 kB / 16.37 MB, free: 6.012 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.001051/0.001051, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.581/2.581, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 64.05 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2967, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003012/0.2997, allocations: 1.925 MB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.759/1.059, allocations: 155.4 MB / 1.18 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/1.059, allocations: 2.156 kB / 1.18 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/1.059, allocations: 24.86 kB / 1.18 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003132/1.06, allocations: 79.91 kB / 1.18 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/1.06, allocations: 255.5 kB / 1.181 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003403/1.061, allocations: 268.2 kB / 1.181 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/1.061, allocations: 67.09 kB / 1.181 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/1.062, allocations: 250.7 kB / 1.181 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/1.062, allocations: 101.6 kB / 1.181 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/1.062, allocations: 15.53 kB / 1.181 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/1.063, allocations: 175.7 kB / 1.182 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/1.063, allocations: 48.23 kB / 1.182 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/1.063, allocations: 92.77 kB / 1.182 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004661/1.064, allocations: 286.2 kB / 1.182 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.064, allocations: 0 / 1.182 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.824e-06/1.064, allocations: 1.312 kB / 1.182 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.064, allocations: 0 / 1.182 GB, free: 4.648 MB / 0.8887 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.0009967/1.065, allocations: 0.5238 MB / 1.182 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/1.065, allocations: 8.719 kB / 1.182 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000855/1.065, allocations: 89.11 kB / 1.183 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/1.066, allocations: 223.5 kB / 1.183 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/1.066, allocations: 44.91 kB / 1.183 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/1.066, allocations: 18.62 kB / 1.183 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/1.066, allocations: 264.2 kB / 1.183 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.066, allocations: 5.125 kB / 1.183 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/1.066, allocations: 10.16 kB / 1.183 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/1.067, allocations: 4.375 kB / 1.183 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/1.067, allocations: 169.8 kB / 1.183 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/1.069, allocations: 1.177 MB / 1.184 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007513/1.069, allocations: 210.8 kB / 1.185 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/1.07, allocations: 67.92 kB / 1.185 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/1.07, allocations: 1.156 kB / 1.185 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/1.07, allocations: 35.7 kB / 1.185 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/1.07, allocations: 0 / 1.185 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of matching and sorting (n=12): time 0.002736/1.072, allocations: 0.628 MB / 1.185 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/1.072, allocations: 53.56 kB / 1.185 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/1.073, allocations: 216 kB / 1.186 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/1.073, allocations: 30.61 kB / 1.186 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.073, allocations: 132.4 kB / 1.186 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/1.073, allocations: 49.03 kB / 1.186 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.073, allocations: 53.52 kB / 1.186 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.073, allocations: 326.7 kB / 1.186 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/1.073, allocations: 67.83 kB / 1.186 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/1.074, allocations: 136.8 kB / 1.186 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/1.074, allocations: 204.2 kB / 1.187 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.074, allocations: 3.938 kB / 1.187 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001472/1.076, allocations: 372.3 kB / 1.187 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.076, allocations: 5.312 kB / 1.187 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.076, allocations: 1.938 kB / 1.187 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.077, allocations: 161.9 kB / 1.187 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/1.077, allocations: 45.78 kB / 1.187 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004219/1.081, allocations: 3.248 MB / 1.19 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/1.082, allocations: 33.7 kB / 1.19 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/1.082, allocations: 10.7 kB / 1.19 GB, free: 13.18 MB / 0.9044 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.0001539/1.082, allocations: 134.6 kB / 1.19 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/1.082, allocations: 19.94 kB / 1.19 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/1.083, allocations: 379.1 kB / 1.191 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.083, allocations: 2.156 kB / 1.191 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/1.083, allocations: 0 / 1.191 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.083, allocations: 0 / 1.191 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/1.084, allocations: 282.8 kB / 1.191 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.084, allocations: 0 / 1.191 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/1.084, allocations: 20.36 kB / 1.191 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008167/1.085, allocations: 144.2 kB / 1.191 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.085, allocations: 0.9688 kB / 1.191 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/1.088, allocations: 3.31 MB / 1.194 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.088, allocations: 0 / 1.194 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/1.09, allocations: 429 kB / 1.195 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/1.09, allocations: 110.3 kB / 1.195 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/1.09, allocations: 9.656 kB / 1.195 GB, free: 8.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/1.09, allocations: 19.77 kB / 1.195 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/1.09, allocations: 23.67 kB / 1.195 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/1.09, allocations: 8.812 kB / 1.195 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000198/1.09, allocations: 157.3 kB / 1.195 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.71e-07/1.09, allocations: 0 / 1.195 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004447/1.091, allocations: 71.03 kB / 1.195 GB, free: 8.652 MB / 0.9044 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.0002007/1.091, allocations: 125.3 kB / 1.195 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001066/1.092, allocations: 442.1 kB / 1.196 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.092, allocations: 1.375 kB / 1.196 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006633/1.093, allocations: 359.6 kB / 1.196 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/1.093, allocations: 62.89 kB / 1.196 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/1.094, allocations: 419.9 kB / 1.197 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/1.095, allocations: 0.7323 MB / 1.197 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001732/1.095, allocations: 38.02 kB / 1.197 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/1.095, allocations: 27.05 kB / 1.197 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of SimCode: time 1.633e-06/1.095, allocations: 0 / 1.197 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of Templates: time 0.01007/1.105, allocations: 5.299 MB / 1.203 GB, free: 4.172 MB / 0.9044 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 -s gbode -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