Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 108 kB / 15.6 MB, free: 132 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.001811/0.001811, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 469.8 MB / 0.7424 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.94 kB / 0.9086 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.333, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003724/0.3368, allocations: 1.915 MB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1585/0.4954, allocations: 155.4 MB / 1.218 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.841e-05/0.4955, allocations: 4 kB / 1.218 GB, free: 324 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.4957, allocations: 23.67 kB / 1.218 GB, free: 300 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.4959, allocations: 71.42 kB / 1.218 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.4964, allocations: 259.2 kB / 1.218 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.4967, allocations: 267.1 kB / 1.218 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.4969, allocations: 78.59 kB / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.4981, allocations: 244.7 kB / 1.219 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.4983, allocations: 95.59 kB / 1.219 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.4983, allocations: 12 kB / 1.219 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.4986, allocations: 183.7 kB / 1.219 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.4987, allocations: 47.83 kB / 1.219 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.4988, allocations: 95.52 kB / 1.219 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.4991, allocations: 275.2 kB / 1.219 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.4992, allocations: 0 / 1.219 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4992, allocations: 3.938 kB / 1.219 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4992, allocations: 0 / 1.219 GB, free: 14.72 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.0008607/0.5, allocations: 0.53 MB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.5001, allocations: 8.031 kB / 1.22 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.5001, allocations: 46.55 kB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000763/0.5009, allocations: 87.73 kB / 1.22 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.5012, allocations: 226.6 kB / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.5012, allocations: 38.03 kB / 1.22 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.5013, allocations: 20 kB / 1.22 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.5018, allocations: 262.5 kB / 1.22 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5018, allocations: 4 kB / 1.22 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.5018, allocations: 4 kB / 1.22 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5018, allocations: 7.938 kB / 1.22 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.5023, allocations: 167.8 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.5038, allocations: 1.18 MB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.5045, allocations: 214.6 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.5047, allocations: 68.83 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.5047, allocations: 11.91 kB / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.5048, allocations: 30.56 kB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.5048, allocations: 0 / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002499/0.5073, allocations: 0.6297 MB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.5073, allocations: 51.41 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.5075, allocations: 215 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.5076, allocations: 29.7 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.5077, allocations: 132 kB / 1.223 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.5077, allocations: 39.39 kB / 1.223 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/0.5078, allocations: 57.58 kB / 1.223 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5079, allocations: 330.8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.5081, allocations: 67.95 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.5084, allocations: 139.5 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.5088, allocations: 208.2 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5088, allocations: 0 / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001361/0.5102, allocations: 367.7 kB / 1.224 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5102, allocations: 4 kB / 1.224 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5102, allocations: 4 kB / 1.224 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009984/0.5112, allocations: 161.8 kB / 1.224 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.5114, allocations: 43.89 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003759/0.5152, allocations: 3.256 MB / 1.228 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.5155, allocations: 27.86 kB / 1.228 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.5156, allocations: 15.98 kB / 1.228 GB, free: 5.41 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.0001133/0.5157, allocations: 125.8 kB / 1.228 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.5157, allocations: 19.72 kB / 1.228 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.517, allocations: 378.2 kB / 1.228 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.517, allocations: 8.125 kB / 1.228 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.517, allocations: 0 / 1.228 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.517, allocations: 7.984 kB / 1.228 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.5173, allocations: 277.4 kB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5173, allocations: 0 / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.5175, allocations: 19.98 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007755/0.5183, allocations: 141.6 kB / 1.229 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.5183, allocations: 4 kB / 1.229 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/0.5218, allocations: 3.293 MB / 1.232 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5218, allocations: 0 / 1.232 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.523, allocations: 432.6 kB / 1.232 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5232, allocations: 116.8 kB / 1.232 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.5232, allocations: 8 kB / 1.232 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.5235, allocations: 15.92 kB / 1.232 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.5235, allocations: 19.97 kB / 1.232 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.5236, allocations: 8 kB / 1.232 GB, free: 168 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00017/0.5237, allocations: 155.2 kB / 1.233 GB, free: 12 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5238, allocations: 0 / 1.233 GB, free: 12 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003601/0.5241, allocations: 76.14 kB / 1.233 GB, free: 15.93 MB / 0.9981 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.001549/0.5257, allocations: 0.9809 MB / 1.234 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009775/0.5267, allocations: 450.9 kB / 1.234 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5267, allocations: 0 / 1.234 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006625/0.5273, allocations: 365.2 kB / 1.234 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.5277, allocations: 66.36 kB / 1.234 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.5324, allocations: 2.525 MB / 1.237 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.5327, allocations: 0.7401 MB / 1.238 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000177/0.5329, allocations: 41.91 kB / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.533, allocations: 47.42 kB / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.533, allocations: 0 / 1.238 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.029/2.562, allocations: 7.186 MB / 1.245 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.3/21.87, allocations: 7.688 kB / 1.245 GB, free: 3.504 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches