Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_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_10_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.001182/0.001182, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002503, allocations: 67.89 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3305, allocations: 151.6 MB / 1.167 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002947/0.3335, allocations: 1.923 MB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9167/1.25, allocations: 155.4 MB / 1.32 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/1.251, allocations: 2.312 kB / 1.32 GB, free: 10.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002364/1.251, allocations: 29.08 kB / 1.32 GB, free: 10.21 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000407/1.251, allocations: 73.95 kB / 1.32 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/1.252, allocations: 266.1 kB / 1.321 GB, free: 10.1 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003913/1.253, allocations: 270.6 kB / 1.321 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/1.253, allocations: 72.56 kB / 1.321 GB, free: 10.03 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/1.254, allocations: 254.5 kB / 1.321 GB, free: 9.988 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/1.255, allocations: 94.98 kB / 1.321 GB, free: 9.965 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/1.255, allocations: 18.38 kB / 1.321 GB, free: 9.961 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/1.255, allocations: 184.1 kB / 1.321 GB, free: 9.945 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/1.255, allocations: 44.5 kB / 1.321 GB, free: 9.938 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/1.255, allocations: 93.98 kB / 1.322 GB, free: 9.906 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005416/1.256, allocations: 287.2 kB / 1.322 GB, free: 9.848 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.256, allocations: 0.7969 kB / 1.322 GB, free: 9.848 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.764e-06/1.256, allocations: 0 / 1.322 GB, free: 9.848 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.125e-06/1.256, allocations: 0 / 1.322 GB, free: 9.848 MB / 1.014 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.001062/1.257, allocations: 0.5241 MB / 1.322 GB, free: 9.422 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.257, allocations: 9.547 kB / 1.322 GB, free: 9.422 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009369/1.258, allocations: 87.66 kB / 1.322 GB, free: 9.406 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/1.258, allocations: 231.4 kB / 1.323 GB, free: 9.188 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.652e-05/1.258, allocations: 49.83 kB / 1.323 GB, free: 9.148 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/1.259, allocations: 13.19 kB / 1.323 GB, free: 9.148 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/1.259, allocations: 262.9 kB / 1.323 GB, free: 9.047 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.259, allocations: 0.7969 kB / 1.323 GB, free: 9.047 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/1.259, allocations: 6.688 kB / 1.323 GB, free: 9.047 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.259, allocations: 7.719 kB / 1.323 GB, free: 9.043 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/1.26, allocations: 167 kB / 1.323 GB, free: 9.035 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/1.261, allocations: 1.181 MB / 1.324 GB, free: 8.082 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007748/1.262, allocations: 203.6 kB / 1.324 GB, free: 8.012 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/1.262, allocations: 70.97 kB / 1.325 GB, free: 7.984 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/1.262, allocations: 5.719 kB / 1.325 GB, free: 7.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/1.262, allocations: 35.31 kB / 1.325 GB, free: 7.938 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/1.263, allocations: 0 / 1.325 GB, free: 7.938 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.002876/1.265, allocations: 0.6313 MB / 1.325 GB, free: 7.605 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/1.265, allocations: 52.88 kB / 1.325 GB, free: 7.543 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/1.266, allocations: 216.2 kB / 1.325 GB, free: 7.406 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/1.266, allocations: 30.41 kB / 1.325 GB, free: 7.371 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/1.266, allocations: 142.6 kB / 1.326 GB, free: 7.242 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/1.266, allocations: 37.31 kB / 1.326 GB, free: 7.215 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.266, allocations: 50.58 kB / 1.326 GB, free: 7.184 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.266, allocations: 334.9 kB / 1.326 GB, free: 6.855 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/1.266, allocations: 66.58 kB / 1.326 GB, free: 6.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/1.267, allocations: 136.1 kB / 1.326 GB, free: 6.738 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/1.267, allocations: 203.6 kB / 1.326 GB, free: 6.613 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.267, allocations: 1.875 kB / 1.326 GB, free: 6.613 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001653/1.269, allocations: 377.7 kB / 1.327 GB, free: 6.469 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.269, allocations: 6.75 kB / 1.327 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.269, allocations: 2.188 kB / 1.327 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/1.27, allocations: 168.5 kB / 1.327 GB, free: 6.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/1.27, allocations: 36.36 kB / 1.327 GB, free: 6.426 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004354/1.275, allocations: 3.249 MB / 1.33 GB, free: 3.395 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/1.275, allocations: 39.8 kB / 1.33 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/1.275, allocations: 11.27 kB / 1.33 GB, free: 3.375 MB / 1.014 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.0001833/1.275, allocations: 140.8 kB / 1.33 GB, free: 3.238 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/1.275, allocations: 15.59 kB / 1.33 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/1.277, allocations: 372.1 kB / 1.331 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.277, allocations: 3.031 kB / 1.331 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/1.277, allocations: 0.7031 kB / 1.331 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.277, allocations: 0.6562 kB / 1.331 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/1.277, allocations: 277.1 kB / 1.331 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.277, allocations: 0 / 1.331 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/1.277, allocations: 21.36 kB / 1.331 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008738/1.278, allocations: 143.9 kB / 1.331 GB, free: 2.801 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/1.278, allocations: 6.125 kB / 1.331 GB, free: 2.797 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/1.282, allocations: 3.296 MB / 1.334 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.282, allocations: 2.766 kB / 1.334 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/1.283, allocations: 436.1 kB / 1.335 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/1.284, allocations: 120.5 kB / 1.335 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/1.284, allocations: 10.09 kB / 1.335 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/1.284, allocations: 10.34 kB / 1.335 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.284, allocations: 22.5 kB / 1.335 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/1.284, allocations: 7.062 kB / 1.335 GB, free: 15.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002782/1.284, allocations: 163.1 kB / 1.335 GB, free: 15.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.284, allocations: 0 / 1.335 GB, free: 15.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005291/1.285, allocations: 70.47 kB / 1.335 GB, free: 15.25 MB / 1.029 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.0002158/1.285, allocations: 117 kB / 1.335 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001034/1.286, allocations: 456.1 kB / 1.336 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.286, allocations: 1.469 kB / 1.336 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006528/1.287, allocations: 361.8 kB / 1.336 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/1.287, allocations: 68.64 kB / 1.336 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009527/1.288, allocations: 419.8 kB / 1.337 GB, free: 14.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/1.289, allocations: 0.7395 MB / 1.337 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001635/1.289, allocations: 32.11 kB / 1.337 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/1.289, allocations: 21.39 kB / 1.337 GB, free: 13.61 MB / 1.029 GB Notification: Performance of SimCode: time 2.5e-07/1.289, allocations: 0 / 1.337 GB, free: 13.61 MB / 1.029 GB Notification: Performance of Templates: time 0.01034/1.299, allocations: 5.355 MB / 1.343 GB, free: 13.24 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches