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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.005335/0.005335, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.00123/0.00123, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.775/2.775, allocations: 469.4 MB / 0.7422 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64.11 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2937, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003178/0.2969, allocations: 1.928 MB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7464/1.043, allocations: 155.4 MB / 1.373 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/1.044, allocations: 1.312 kB / 1.373 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001925/1.044, allocations: 25.47 kB / 1.373 GB, free: 10.44 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003468/1.044, allocations: 80.31 kB / 1.373 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000794/1.045, allocations: 257.9 kB / 1.374 GB, free: 10.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003632/1.045, allocations: 265.3 kB / 1.374 GB, free: 10.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/1.045, allocations: 75.28 kB / 1.374 GB, free: 10.1 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/1.047, allocations: 244.6 kB / 1.374 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/1.047, allocations: 99.45 kB / 1.374 GB, free: 9.977 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/1.047, allocations: 14.59 kB / 1.374 GB, free: 9.977 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/1.047, allocations: 186.8 kB / 1.375 GB, free: 9.926 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/1.048, allocations: 45.62 kB / 1.375 GB, free: 9.898 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/1.048, allocations: 97.05 kB / 1.375 GB, free: 9.844 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005144/1.048, allocations: 282.5 kB / 1.375 GB, free: 9.742 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/1.048, allocations: 0 / 1.375 GB, free: 9.742 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.273e-06/1.048, allocations: 1.156 kB / 1.375 GB, free: 9.742 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.827e-06/1.048, allocations: 0 / 1.375 GB, free: 9.742 MB / 1.076 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.001031/1.049, allocations: 0.5325 MB / 1.375 GB, free: 9.281 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.049, allocations: 9.188 kB / 1.376 GB, free: 9.281 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/1.049, allocations: 52.95 kB / 1.376 GB, free: 9.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/1.05, allocations: 82.94 kB / 1.376 GB, free: 9.219 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/1.051, allocations: 235.6 kB / 1.376 GB, free: 8.984 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.911e-05/1.051, allocations: 44.88 kB / 1.376 GB, free: 8.941 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/1.051, allocations: 15.41 kB / 1.376 GB, free: 8.938 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/1.051, allocations: 263.9 kB / 1.376 GB, free: 8.781 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.051, allocations: 5 kB / 1.376 GB, free: 8.777 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/1.051, allocations: 9.562 kB / 1.376 GB, free: 8.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.051, allocations: 5.406 kB / 1.376 GB, free: 8.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/1.052, allocations: 160.5 kB / 1.376 GB, free: 8.727 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/1.054, allocations: 1.186 MB / 1.378 GB, free: 7.727 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007589/1.054, allocations: 207.4 kB / 1.378 GB, free: 7.652 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/1.055, allocations: 70.64 kB / 1.378 GB, free: 7.625 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/1.055, allocations: 1.25 kB / 1.378 GB, free: 7.625 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/1.055, allocations: 36.41 kB / 1.378 GB, free: 7.582 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 3.266e-06/1.055, allocations: 4 kB / 1.378 GB, free: 7.578 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.002672/1.057, allocations: 0.6241 MB / 1.378 GB, free: 7.254 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.057, allocations: 52.59 kB / 1.378 GB, free: 7.191 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/1.058, allocations: 218.6 kB / 1.379 GB, free: 7.051 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/1.058, allocations: 26.98 kB / 1.379 GB, free: 7.02 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/1.058, allocations: 148.3 kB / 1.379 GB, free: 6.887 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/1.058, allocations: 48.95 kB / 1.379 GB, free: 6.848 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/1.058, allocations: 46.25 kB / 1.379 GB, free: 6.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.058, allocations: 327.4 kB / 1.379 GB, free: 6.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/1.058, allocations: 70.03 kB / 1.379 GB, free: 6.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/1.059, allocations: 132.8 kB / 1.379 GB, free: 6.383 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/1.059, allocations: 200.5 kB / 1.38 GB, free: 6.262 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.059, allocations: 0 / 1.38 GB, free: 6.262 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00149/1.06, allocations: 374.2 kB / 1.38 GB, free: 6.086 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.061, allocations: 5.719 kB / 1.38 GB, free: 6.086 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.061, allocations: 14.3 kB / 1.38 GB, free: 6.074 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/1.062, allocations: 161.8 kB / 1.38 GB, free: 5.992 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/1.062, allocations: 41.62 kB / 1.38 GB, free: 5.977 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004005/1.066, allocations: 3.249 MB / 1.383 GB, free: 2.793 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/1.066, allocations: 38.17 kB / 1.383 GB, free: 2.773 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/1.066, allocations: 9.641 kB / 1.383 GB, free: 2.77 MB / 1.076 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.0001434/1.067, allocations: 141.1 kB / 1.384 GB, free: 2.633 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/1.067, allocations: 16.06 kB / 1.384 GB, free: 2.625 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/1.068, allocations: 364 kB / 1.384 GB, free: 2.398 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.068, allocations: 2.688 kB / 1.384 GB, free: 2.398 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.068, allocations: 3.984 kB / 1.384 GB, free: 2.395 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.068, allocations: 0 / 1.384 GB, free: 2.395 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/1.068, allocations: 279 kB / 1.384 GB, free: 2.117 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.068, allocations: 0 / 1.384 GB, free: 2.117 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/1.068, allocations: 24.53 kB / 1.384 GB, free: 2.109 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008423/1.069, allocations: 144.4 kB / 1.384 GB, free: 2.031 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/1.069, allocations: 1.156 kB / 1.384 GB, free: 2.031 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003929/1.073, allocations: 3.306 MB / 1.388 GB, free: 14.81 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.073, allocations: 3.984 kB / 1.388 GB, free: 14.81 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/1.075, allocations: 431 kB / 1.388 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/1.075, allocations: 119.4 kB / 1.388 GB, free: 14.39 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/1.075, allocations: 5.531 kB / 1.388 GB, free: 14.39 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/1.075, allocations: 19.05 kB / 1.388 GB, free: 14.38 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/1.075, allocations: 24.22 kB / 1.388 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/1.075, allocations: 4.625 kB / 1.388 GB, free: 14.36 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001975/1.076, allocations: 164.5 kB / 1.388 GB, free: 14.24 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.076, allocations: 0 / 1.388 GB, free: 14.24 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004798/1.076, allocations: 66.88 kB / 1.388 GB, free: 14.23 MB / 1.092 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.001827/1.078, allocations: 0.9828 MB / 1.389 GB, free: 13.39 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001155/1.079, allocations: 451.9 kB / 1.39 GB, free: 13.05 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.079, allocations: 4 kB / 1.39 GB, free: 13.05 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007733/1.08, allocations: 359.4 kB / 1.39 GB, free: 12.75 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/1.08, allocations: 62.64 kB / 1.39 GB, free: 12.72 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/1.086, allocations: 2.521 MB / 1.393 GB, free: 10.75 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/1.086, allocations: 0.739 MB / 1.393 GB, free: 10.02 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002143/1.086, allocations: 37.39 kB / 1.393 GB, free: 10 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/1.087, allocations: 51.2 kB / 1.393 GB, free: 9.961 MB / 1.092 GB Notification: Performance of SimCode: time 1.813e-06/1.087, allocations: 0 / 1.393 GB, free: 9.961 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/1.116, allocations: 7.3 MB / 1.401 GB, free: 6.297 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.49, allocations: 8.906 kB / 1.401 GB, free: 6.289 MB / 1.092 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