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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_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.005638/0.005638, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001218/0.001218, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.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.431/2.431, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.53 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 140.4 MB / 1.087 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003206/0.2828, allocations: 1.911 MB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1598/0.4426, allocations: 155.4 MB / 1.241 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.4428, allocations: 4 kB / 1.241 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.4431, allocations: 27.67 kB / 1.241 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.4435, allocations: 75.47 kB / 1.241 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.4442, allocations: 263.1 kB / 1.241 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.4446, allocations: 275 kB / 1.242 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.4448, allocations: 68.73 kB / 1.242 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.4462, allocations: 241 kB / 1.242 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.4464, allocations: 95.59 kB / 1.242 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.4464, allocations: 16 kB / 1.242 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.4468, allocations: 187.7 kB / 1.242 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.4469, allocations: 39.84 kB / 1.242 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.447, allocations: 95.52 kB / 1.242 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.4474, allocations: 284 kB / 1.243 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4475, allocations: 0 / 1.243 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4475, allocations: 0 / 1.243 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.4475, allocations: 0 / 1.243 GB, free: 2.5 MB / 0.9981 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.0009923/0.4485, allocations: 0.53 MB / 1.243 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4485, allocations: 12.03 kB / 1.243 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.54e-05/0.4486, allocations: 46.55 kB / 1.243 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009056/0.4495, allocations: 87.72 kB / 1.243 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.4498, allocations: 230.6 kB / 1.244 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.4499, allocations: 41.97 kB / 1.244 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.45, allocations: 16 kB / 1.244 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.4505, allocations: 270.5 kB / 1.244 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4506, allocations: 0 / 1.244 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.4506, allocations: 4 kB / 1.244 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4506, allocations: 4 kB / 1.244 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.4511, allocations: 179.8 kB / 1.244 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.4528, allocations: 1.18 MB / 1.245 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.4536, allocations: 202.7 kB / 1.245 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.4538, allocations: 72.83 kB / 1.245 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.4538, allocations: 3.984 kB / 1.245 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.4538, allocations: 30.56 kB / 1.246 GB, free: 15.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 3.937e-06/0.4538, allocations: 0 / 1.246 GB, free: 15.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.00269/0.4565, allocations: 0.6335 MB / 1.246 GB, free: 14.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.4566, allocations: 51.41 kB / 1.246 GB, free: 14.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.4568, allocations: 219 kB / 1.246 GB, free: 14.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.4569, allocations: 29.7 kB / 1.246 GB, free: 14.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.457, allocations: 136 kB / 1.247 GB, free: 14.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.457, allocations: 43.44 kB / 1.247 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/0.4571, allocations: 53.58 kB / 1.247 GB, free: 14.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4572, allocations: 326.8 kB / 1.247 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.4574, allocations: 71.95 kB / 1.247 GB, free: 13.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.4577, allocations: 128.8 kB / 1.247 GB, free: 13.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.4582, allocations: 212.5 kB / 1.247 GB, free: 13.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4582, allocations: 0 / 1.247 GB, free: 13.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001458/0.4597, allocations: 366.8 kB / 1.248 GB, free: 12.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4597, allocations: 5.875 kB / 1.248 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4597, allocations: 4 kB / 1.248 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.4608, allocations: 165.5 kB / 1.248 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.461, allocations: 43.95 kB / 1.248 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.4649, allocations: 3.248 MB / 1.251 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.4653, allocations: 27.86 kB / 1.251 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.4653, allocations: 15.98 kB / 1.251 GB, free: 9.191 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.0001475/0.4655, allocations: 132.5 kB / 1.251 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.4656, allocations: 19.72 kB / 1.251 GB, free: 9.035 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.4669, allocations: 376.2 kB / 1.252 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4669, allocations: 192 / 1.252 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4669, allocations: 4 kB / 1.252 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4669, allocations: 7.984 kB / 1.252 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.4672, allocations: 273.5 kB / 1.252 GB, free: 8.328 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4672, allocations: 0 / 1.252 GB, free: 8.328 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.4674, allocations: 19.98 kB / 1.252 GB, free: 8.309 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008295/0.4682, allocations: 141.5 kB / 1.252 GB, free: 8.164 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.4682, allocations: 4 kB / 1.252 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/0.4719, allocations: 3.301 MB / 1.255 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4719, allocations: 0 / 1.255 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.4732, allocations: 438.8 kB / 1.256 GB, free: 4.125 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.4734, allocations: 112.8 kB / 1.256 GB, free: 3.996 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.4734, allocations: 8 kB / 1.256 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.4737, allocations: 15.98 kB / 1.256 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.4738, allocations: 15.97 kB / 1.256 GB, free: 3.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.4739, allocations: 8 kB / 1.256 GB, free: 3.949 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002268/0.4741, allocations: 159.2 kB / 1.256 GB, free: 3.793 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/0.4741, allocations: 0 / 1.256 GB, free: 3.793 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004908/0.4746, allocations: 72 kB / 1.256 GB, free: 3.723 MB / 1.014 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.001621/0.4762, allocations: 0.982 MB / 1.257 GB, free: 2.707 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.4774, allocations: 447.3 kB / 1.257 GB, free: 2.246 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4774, allocations: 3.938 kB / 1.257 GB, free: 2.242 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006869/0.4781, allocations: 365.2 kB / 1.258 GB, free: 1.859 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.4785, allocations: 64.33 kB / 1.258 GB, free: 1.797 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5346/1.013, allocations: 2.506 MB / 1.26 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/1.013, allocations: 0.7341 MB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002216/1.014, allocations: 36.31 kB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/1.014, allocations: 56.33 kB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.964e-06/1.014, allocations: 2.531 kB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/1.049, allocations: 7.429 MB / 1.268 GB, free: 172.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/12.12, allocations: 12.98 kB / 1.268 GB, free: 172.6 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > 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