Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.007385/0.007385, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.00175/0.00175, allocations: 189.4 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.637/2.637, allocations: 469.4 MB / 0.7421 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 63.83 kB / 1.064 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7842/0.7858, allocations: 159.1 MB / 1.22 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003038/0.7888, allocations: 1.67 MB / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1675/0.9564, allocations: 149.7 MB / 1.368 GB, free: 10.31 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.9566, allocations: 0 / 1.368 GB, free: 10.31 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.9568, allocations: 27.8 kB / 1.368 GB, free: 10.28 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.9571, allocations: 55.56 kB / 1.368 GB, free: 10.23 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.9576, allocations: 179.4 kB / 1.368 GB, free: 10.05 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.9578, allocations: 163.5 kB / 1.368 GB, free: 9.891 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.958, allocations: 33.09 kB / 1.368 GB, free: 9.859 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.9593, allocations: 192.8 kB / 1.368 GB, free: 9.695 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.9594, allocations: 71.69 kB / 1.368 GB, free: 9.625 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.9594, allocations: 8 kB / 1.368 GB, free: 9.617 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.9598, allocations: 155.8 kB / 1.368 GB, free: 9.465 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.9598, allocations: 31.91 kB / 1.368 GB, free: 9.434 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.9599, allocations: 43.73 kB / 1.368 GB, free: 9.391 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.9603, allocations: 207 kB / 1.369 GB, free: 9.191 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.9603, allocations: 8 kB / 1.369 GB, free: 9.184 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9603, allocations: 0 / 1.369 GB, free: 9.184 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.9603, allocations: 0 / 1.369 GB, free: 9.184 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000882/0.9612, allocations: 478.5 kB / 1.369 GB, free: 8.668 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.9612, allocations: 8.625 kB / 1.369 GB, free: 8.66 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.9613, allocations: 38.75 kB / 1.369 GB, free: 8.613 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000664/0.9619, allocations: 64.58 kB / 1.369 GB, free: 8.551 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.9622, allocations: 202.8 kB / 1.369 GB, free: 8.312 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.9622, allocations: 4 kB / 1.369 GB, free: 8.309 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.9623, allocations: 12 kB / 1.369 GB, free: 8.297 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.9629, allocations: 176.4 kB / 1.37 GB, free: 8.105 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.963, allocations: 4 kB / 1.37 GB, free: 8.102 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.963, allocations: 4 kB / 1.37 GB, free: 8.098 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.963, allocations: 0 / 1.37 GB, free: 8.098 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/0.9639, allocations: 155.7 kB / 1.37 GB, free: 7.945 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.9655, allocations: 0.8207 MB / 1.371 GB, free: 7.047 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.9662, allocations: 130.5 kB / 1.371 GB, free: 6.91 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.9667, allocations: 84.78 kB / 1.371 GB, free: 6.824 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.9667, allocations: 0 / 1.371 GB, free: 6.824 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.9668, allocations: 34.56 kB / 1.371 GB, free: 6.781 MB / 1.092 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.9668, allocations: 4 kB / 1.371 GB, free: 6.777 MB / 1.092 GB Notification: Performance of matching and sorting (n=8): time 0.003084/0.9699, allocations: 463.3 kB / 1.371 GB, free: 6.297 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.9699, allocations: 55.34 kB / 1.371 GB, free: 6.23 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.9701, allocations: 144.5 kB / 1.371 GB, free: 6.078 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.9702, allocations: 29.7 kB / 1.371 GB, free: 6.043 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/0.9703, allocations: 116.2 kB / 1.372 GB, free: 5.926 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.9704, allocations: 27.78 kB / 1.372 GB, free: 5.898 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.9705, allocations: 37.66 kB / 1.372 GB, free: 5.855 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9707, allocations: 322.8 kB / 1.372 GB, free: 5.531 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.9711, allocations: 67.94 kB / 1.372 GB, free: 5.465 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.9716, allocations: 108.2 kB / 1.372 GB, free: 5.344 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000881/0.9725, allocations: 180.1 kB / 1.372 GB, free: 5.152 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.9725, allocations: 3.938 kB / 1.372 GB, free: 5.148 MB / 1.092 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001789/0.9743, allocations: 282.1 kB / 1.373 GB, free: 4.863 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.9744, allocations: 11.92 kB / 1.373 GB, free: 4.852 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.9744, allocations: 4.125 kB / 1.373 GB, free: 4.848 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009306/0.9753, allocations: 84.77 kB / 1.373 GB, free: 4.762 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.9757, allocations: 31.97 kB / 1.373 GB, free: 4.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.979, allocations: 1.656 MB / 1.374 GB, free: 2.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.9794, allocations: 23.91 kB / 1.374 GB, free: 2.906 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.9794, allocations: 19.91 kB / 1.374 GB, free: 2.887 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001726/0.9796, allocations: 118.4 kB / 1.374 GB, free: 2.762 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.9797, allocations: 7.953 kB / 1.374 GB, free: 2.754 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.9814, allocations: 318.5 kB / 1.375 GB, free: 2.441 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.9814, allocations: 4 kB / 1.375 GB, free: 2.438 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.9814, allocations: 0 / 1.375 GB, free: 2.438 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9814, allocations: 4 kB / 1.375 GB, free: 2.434 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.9817, allocations: 241.5 kB / 1.375 GB, free: 2.148 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9817, allocations: 0 / 1.375 GB, free: 2.148 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.9819, allocations: 31.97 kB / 1.375 GB, free: 2.117 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/0.9824, allocations: 76.7 kB / 1.375 GB, free: 2.039 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.9824, allocations: 11.94 kB / 1.375 GB, free: 2.027 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.9844, allocations: 1.69 MB / 1.377 GB, free: 196 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9844, allocations: 3.984 kB / 1.377 GB, free: 192 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.9856, allocations: 372.1 kB / 1.377 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.9857, allocations: 108.9 kB / 1.377 GB, free: 15.68 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.9857, allocations: 4 kB / 1.377 GB, free: 15.68 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.986, allocations: 20.05 kB / 1.377 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.986, allocations: 23.97 kB / 1.377 GB, free: 15.63 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.9861, allocations: 7.938 kB / 1.377 GB, free: 15.62 MB / 1.107 GB Notification: Performance of sorting global known variables: time 7.992e-05/0.9861, allocations: 116.9 kB / 1.377 GB, free: 15.51 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9861, allocations: 0 / 1.377 GB, free: 15.51 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003517/0.9865, allocations: 43.94 kB / 1.377 GB, free: 15.47 MB / 1.107 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001473/0.988, allocations: 0.9238 MB / 1.378 GB, free: 14.52 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009304/0.9889, allocations: 306.7 kB / 1.379 GB, free: 14.2 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9889, allocations: 0 / 1.379 GB, free: 14.2 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.9895, allocations: 234.5 kB / 1.379 GB, free: 13.96 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.9899, allocations: 19.98 kB / 1.379 GB, free: 13.94 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.9939, allocations: 2.061 MB / 1.381 GB, free: 11.77 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.9942, allocations: 0.7201 MB / 1.382 GB, free: 11.02 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000144/0.9943, allocations: 28.81 kB / 1.382 GB, free: 11 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.9944, allocations: 31.42 kB / 1.382 GB, free: 10.96 MB / 1.107 GB Notification: Performance of SimCode: time 1.683e-06/0.9944, allocations: 4 kB / 1.382 GB, free: 10.96 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/1.019, allocations: 4.735 MB / 1.386 GB, free: 6.406 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.25, allocations: 27.23 kB / 1.386 GB, free: 6.383 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches