Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_9_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_9_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.001111/0.001111, allocations: 107.6 kB / 16.41 MB, free: 6.406 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.001048/0.001048, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.1 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.336/2.336, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.089, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003466/1.093, allocations: 1.919 MB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2227/1.316, allocations: 155.4 MB / 1.242 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/1.316, allocations: 2.75 kB / 1.242 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000232/1.316, allocations: 25.11 kB / 1.242 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004072/1.317, allocations: 73.17 kB / 1.242 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000946/1.318, allocations: 270.1 kB / 1.243 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003522/1.318, allocations: 268.9 kB / 1.243 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/1.318, allocations: 69.2 kB / 1.243 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/1.32, allocations: 246.8 kB / 1.243 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/1.32, allocations: 94.22 kB / 1.243 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/1.32, allocations: 19.53 kB / 1.243 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/1.32, allocations: 179.9 kB / 1.243 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/1.32, allocations: 47.05 kB / 1.243 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/1.321, allocations: 89.94 kB / 1.244 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005537/1.321, allocations: 284.3 kB / 1.244 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.321, allocations: 0 / 1.244 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/1.321, allocations: 0 / 1.244 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.217e-06/1.321, allocations: 1.531 kB / 1.244 GB, free: 13.95 MB / 0.9825 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.001132/1.322, allocations: 0.5258 MB / 1.244 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.322, allocations: 14.08 kB / 1.244 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008577/1.323, allocations: 81.2 kB / 1.244 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/1.323, allocations: 231.2 kB / 1.245 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.02e-05/1.324, allocations: 42 kB / 1.245 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/1.324, allocations: 15.19 kB / 1.245 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/1.324, allocations: 263.4 kB / 1.245 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.324, allocations: 4.875 kB / 1.245 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/1.324, allocations: 6.156 kB / 1.245 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.324, allocations: 4.5 kB / 1.245 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/1.325, allocations: 173 kB / 1.245 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/1.327, allocations: 1.18 MB / 1.246 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007984/1.327, allocations: 211.9 kB / 1.247 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/1.328, allocations: 79.5 kB / 1.247 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/1.328, allocations: 5.016 kB / 1.247 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/1.328, allocations: 31.69 kB / 1.247 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/1.328, allocations: 0 / 1.247 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002606/1.33, allocations: 0.6265 MB / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.33, allocations: 55.41 kB / 1.247 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/1.331, allocations: 218.9 kB / 1.247 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/1.331, allocations: 29.7 kB / 1.248 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.331, allocations: 136 kB / 1.248 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/1.331, allocations: 39.45 kB / 1.248 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/1.331, allocations: 53.58 kB / 1.248 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000238/1.331, allocations: 330.7 kB / 1.248 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/1.331, allocations: 71.95 kB / 1.248 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/1.332, allocations: 134 kB / 1.248 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/1.332, allocations: 206.7 kB / 1.248 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.332, allocations: 4 kB / 1.248 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001331/1.333, allocations: 362.8 kB / 1.249 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.333, allocations: 4 kB / 1.249 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.333, allocations: 4 kB / 1.249 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/1.334, allocations: 161.8 kB / 1.249 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/1.335, allocations: 39.89 kB / 1.249 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/1.339, allocations: 3.251 MB / 1.252 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/1.339, allocations: 35.8 kB / 1.252 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/1.339, allocations: 7.984 kB / 1.252 GB, free: 5.559 MB / 0.9825 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.0001777/1.339, allocations: 129.8 kB / 1.252 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/1.339, allocations: 15.81 kB / 1.252 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/1.341, allocations: 382.1 kB / 1.253 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.341, allocations: 4 kB / 1.253 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.341, allocations: 4.188 kB / 1.253 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.341, allocations: 0 / 1.253 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/1.341, allocations: 289.3 kB / 1.253 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.341, allocations: 0 / 1.253 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/1.341, allocations: 19.98 kB / 1.253 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007607/1.342, allocations: 137.6 kB / 1.253 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/1.342, allocations: 8 kB / 1.253 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/1.346, allocations: 3.301 MB / 1.256 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.346, allocations: 0 / 1.256 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/1.347, allocations: 432.6 kB / 1.257 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.347, allocations: 112.8 kB / 1.257 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/1.347, allocations: 8 kB / 1.257 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/1.347, allocations: 11.98 kB / 1.257 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/1.347, allocations: 15.97 kB / 1.257 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/1.347, allocations: 8 kB / 1.257 GB, free: 316 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001742/1.348, allocations: 163.2 kB / 1.257 GB, free: 152 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.693e-06/1.348, allocations: 0 / 1.257 GB, free: 152 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000424/1.348, allocations: 79.88 kB / 1.257 GB, free: 72 kB / 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.0002196/1.348, allocations: 111.8 kB / 1.257 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001037/1.349, allocations: 446.9 kB / 1.258 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.349, allocations: 384 / 1.258 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000649/1.35, allocations: 361.2 kB / 1.258 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/1.35, allocations: 63.81 kB / 1.258 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/1.352, allocations: 450.4 kB / 1.259 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/1.352, allocations: 0.7402 MB / 1.259 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/1.352, allocations: 23.38 kB / 1.259 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of SimCode: time 2.484e-06/1.352, allocations: 0 / 1.259 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.006987/1.359, allocations: 4.439 MB / 1.264 GB, free: 9.355 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches