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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001584/0.001584, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.001877/0.001878, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 65.59 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2502, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003181/0.2534, allocations: 1.917 MB / 0.953 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6597/0.9132, allocations: 155.4 MB / 1.105 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.9135, allocations: 6.344 kB / 1.105 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.9138, allocations: 28.48 kB / 1.105 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.9141, allocations: 78.55 kB / 1.105 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.915, allocations: 259.5 kB / 1.105 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.9154, allocations: 265 kB / 1.105 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.9156, allocations: 68.36 kB / 1.105 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.9169, allocations: 241.1 kB / 1.106 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.917, allocations: 92.73 kB / 1.106 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.9171, allocations: 14.97 kB / 1.106 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.9175, allocations: 185.8 kB / 1.106 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.9176, allocations: 46.83 kB / 1.106 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.9177, allocations: 93.12 kB / 1.106 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.9182, allocations: 283.1 kB / 1.106 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.9182, allocations: 1.094 kB / 1.106 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9182, allocations: 0 / 1.106 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.9182, allocations: 0 / 1.106 GB, free: 5.785 MB / 0.8575 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.001064/0.9193, allocations: 0.5267 MB / 1.107 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.9193, allocations: 9.312 kB / 1.107 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000874/0.9202, allocations: 90.92 kB / 1.107 GB, free: 21.35 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.9205, allocations: 231.7 kB / 1.107 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.881e-05/0.9206, allocations: 42.84 kB / 1.107 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.9206, allocations: 17.91 kB / 1.107 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.9211, allocations: 268.2 kB / 1.107 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.9212, allocations: 0.75 kB / 1.107 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.9212, allocations: 7.422 kB / 1.107 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.9212, allocations: 8.359 kB / 1.107 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.9217, allocations: 170.1 kB / 1.108 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.9233, allocations: 1.172 MB / 1.109 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.9241, allocations: 205.1 kB / 1.109 GB, free: 20.08 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.9243, allocations: 75.39 kB / 1.109 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.9243, allocations: 4.25 kB / 1.109 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.9243, allocations: 36.03 kB / 1.109 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.9243, allocations: 0 / 1.109 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.002726/0.9271, allocations: 0.6296 MB / 1.11 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.9271, allocations: 58.31 kB / 1.11 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.9274, allocations: 210.1 kB / 1.11 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.9274, allocations: 30.61 kB / 1.11 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.9275, allocations: 139.7 kB / 1.11 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.9275, allocations: 41.95 kB / 1.11 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.9276, allocations: 47.59 kB / 1.11 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.9277, allocations: 329.8 kB / 1.111 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.9279, allocations: 73.17 kB / 1.111 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.9282, allocations: 131.2 kB / 1.111 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.9286, allocations: 209.2 kB / 1.111 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.9286, allocations: 1.344 kB / 1.111 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001508/0.9302, allocations: 373.1 kB / 1.111 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.9302, allocations: 6.219 kB / 1.111 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9302, allocations: 2.938 kB / 1.111 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.9314, allocations: 162.2 kB / 1.111 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.9316, allocations: 38.34 kB / 1.111 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.9356, allocations: 3.249 MB / 1.115 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.936, allocations: 34.69 kB / 1.115 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.936, allocations: 9.031 kB / 1.115 GB, free: 16.07 MB / 0.8731 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.0001379/0.9361, allocations: 137.2 kB / 1.115 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.9362, allocations: 21.44 kB / 1.115 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.9375, allocations: 374 kB / 1.115 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.9375, allocations: 6.219 kB / 1.115 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.9376, allocations: 0 / 1.115 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.9376, allocations: 2.047 kB / 1.115 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.9379, allocations: 278.9 kB / 1.115 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9379, allocations: 1.938 kB / 1.115 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.938, allocations: 24.45 kB / 1.116 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/0.9388, allocations: 138.5 kB / 1.116 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.9389, allocations: 8.969 kB / 1.116 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/0.9424, allocations: 3.295 MB / 1.119 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.9424, allocations: 0.75 kB / 1.119 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.9437, allocations: 433.7 kB / 1.119 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.9439, allocations: 113.1 kB / 1.119 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.9439, allocations: 9.141 kB / 1.119 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.9442, allocations: 16.14 kB / 1.119 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.9443, allocations: 17.88 kB / 1.119 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.9443, allocations: 8.922 kB / 1.119 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001902/0.9445, allocations: 161.1 kB / 1.12 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9446, allocations: 0 / 1.12 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004707/0.945, allocations: 74.2 kB / 1.12 GB, free: 12.5 MB / 0.8731 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.0002211/0.9453, allocations: 116.3 kB / 1.12 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.9464, allocations: 441.8 kB / 1.12 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.9464, allocations: 384 / 1.12 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.9471, allocations: 367 kB / 1.121 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.9475, allocations: 59.5 kB / 1.121 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/0.9485, allocations: 418.4 kB / 1.121 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.9489, allocations: 0.7383 MB / 1.122 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000198/0.9491, allocations: 40.67 kB / 1.122 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.9491, allocations: 21 kB / 1.122 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of SimCode: time 1.803e-06/0.9492, allocations: 0 / 1.122 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.01251/0.9617, allocations: 5.303 MB / 1.127 GB, free: 10.72 MB / 0.8731 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 -s gbode -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