Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_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.001503/0.001503, allocations: 108 kB / 15.6 MB, free: 128 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.001645/0.001645, allocations: 196.3 kB / 16.53 MB, free: 6.672 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.649/2.649, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002055, allocations: 62.47 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2997, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003711/0.3034, allocations: 1.927 MB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.167/0.4704, allocations: 155.4 MB / 1.217 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.4706, allocations: 0 / 1.217 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.4708, allocations: 27.72 kB / 1.217 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.4712, allocations: 83.36 kB / 1.217 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.4719, allocations: 263.1 kB / 1.218 GB, free: 164 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.4722, allocations: 259.2 kB / 1.218 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.4724, allocations: 78.53 kB / 1.218 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.4737, allocations: 234 kB / 1.218 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.4738, allocations: 91.59 kB / 1.218 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.4739, allocations: 16 kB / 1.218 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000357/0.4743, allocations: 179.8 kB / 1.218 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.4743, allocations: 51.77 kB / 1.219 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.4745, allocations: 91.52 kB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.4749, allocations: 283.2 kB / 1.219 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4749, allocations: 0 / 1.219 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4749, allocations: 0 / 1.219 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.4749, allocations: 0 / 1.219 GB, free: 14.93 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.0009558/0.4759, allocations: 0.5237 MB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4759, allocations: 12.03 kB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.476, allocations: 46.55 kB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008883/0.4769, allocations: 87.72 kB / 1.22 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.4771, allocations: 232.1 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.577e-05/0.4772, allocations: 38.03 kB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.4773, allocations: 20 kB / 1.22 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.4778, allocations: 270.5 kB / 1.22 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4778, allocations: 0 / 1.22 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.4779, allocations: 8 kB / 1.22 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.4779, allocations: 4 kB / 1.22 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.4784, allocations: 167.8 kB / 1.22 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.4801, allocations: 1.184 MB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.4809, allocations: 206.6 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.4811, allocations: 76.75 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.4811, allocations: 4 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4811, allocations: 30.56 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.4812, allocations: 0 / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.002775/0.4839, allocations: 0.6299 MB / 1.222 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.484, allocations: 51.41 kB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.4843, allocations: 215 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.4843, allocations: 33.7 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.4844, allocations: 136 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.4844, allocations: 43.33 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.4846, allocations: 49.59 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4847, allocations: 330.8 kB / 1.223 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.4849, allocations: 75.94 kB / 1.223 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.4852, allocations: 127.6 kB / 1.223 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.4856, allocations: 205 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4856, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001476/0.4871, allocations: 386.7 kB / 1.224 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4872, allocations: 4 kB / 1.224 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4872, allocations: 4 kB / 1.224 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.4883, allocations: 161.7 kB / 1.224 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.4886, allocations: 35.91 kB / 1.224 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/0.4931, allocations: 3.249 MB / 1.227 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.4934, allocations: 31.81 kB / 1.227 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.4935, allocations: 12.06 kB / 1.227 GB, free: 5.617 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.0001255/0.4936, allocations: 137 kB / 1.227 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.4937, allocations: 23.72 kB / 1.227 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.495, allocations: 374.6 kB / 1.228 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.495, allocations: 0 / 1.228 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.495, allocations: 0 / 1.228 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.495, allocations: 3.984 kB / 1.228 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.4953, allocations: 281.4 kB / 1.228 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4953, allocations: 4 kB / 1.228 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.4955, allocations: 23.92 kB / 1.228 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008364/0.4963, allocations: 133.6 kB / 1.228 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.4963, allocations: 11.98 kB / 1.228 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.4999, allocations: 3.285 MB / 1.231 GB, free: 1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4999, allocations: 3.938 kB / 1.231 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.5012, allocations: 440.6 kB / 1.232 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.5013, allocations: 116.8 kB / 1.232 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.5013, allocations: 4 kB / 1.232 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.5016, allocations: 15.98 kB / 1.232 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.5017, allocations: 15.98 kB / 1.232 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.5017, allocations: 11.98 kB / 1.232 GB, free: 372 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000174/0.5019, allocations: 159.2 kB / 1.232 GB, free: 212 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5019, allocations: 0 / 1.232 GB, free: 212 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003923/0.5023, allocations: 68 kB / 1.232 GB, free: 144 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.001598/0.5039, allocations: 0.9833 MB / 1.233 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.505, allocations: 449.5 kB / 1.234 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.505, allocations: 4 kB / 1.234 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/0.5057, allocations: 358.9 kB / 1.234 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.5061, allocations: 71.69 kB / 1.234 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/0.5111, allocations: 2.524 MB / 1.237 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.5114, allocations: 0.7363 MB / 1.237 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.5116, allocations: 33.89 kB / 1.237 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.787e-05/0.5117, allocations: 55.41 kB / 1.237 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.5117, allocations: 0 / 1.237 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.5399, allocations: 7.197 MB / 1.244 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.26, allocations: 11.09 kB / 1.244 GB, free: 3.719 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches