Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.001813/0.001813, 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.001564/0.001564, allocations: 192.3 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.32/2.32, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 67.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.575/0.5773, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1602/0.7376, allocations: 161.5 MB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00524/0.7429, allocations: 3.49 MB / 1.111 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.7432, allocations: 11.94 kB / 1.111 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.7438, allocations: 131 kB / 1.111 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.7451, allocations: 457.9 kB / 1.111 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.7467, allocations: 0.5874 MB / 1.112 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008104/0.7475, allocations: 0.6244 MB / 1.113 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.7479, allocations: 236.6 kB / 1.113 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.7491, allocations: 338.8 kB / 1.113 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.7495, allocations: 199.2 kB / 1.113 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.7495, allocations: 24 kB / 1.113 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009654/0.7505, allocations: 0.5417 MB / 1.114 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.7506, allocations: 87.78 kB / 1.114 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.7508, allocations: 147.3 kB / 1.114 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008729/0.7517, allocations: 0.5454 MB / 1.115 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7517, allocations: 4 kB / 1.115 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7517, allocations: 0 / 1.115 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.7517, allocations: 0 / 1.115 GB, free: 8.34 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001063/0.7528, allocations: 0.6349 MB / 1.115 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.7528, allocations: 8.031 kB / 1.115 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.319e-05/0.7529, allocations: 58.55 kB / 1.115 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.7534, allocations: 83.48 kB / 1.115 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.7538, allocations: 285.4 kB / 1.116 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.7538, allocations: 12.44 kB / 1.116 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.7539, allocations: 23.98 kB / 1.116 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.7545, allocations: 312.2 kB / 1.116 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.7545, allocations: 4 kB / 1.116 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.7545, allocations: 4 kB / 1.116 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.7546, allocations: 7.938 kB / 1.116 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.7552, allocations: 256.6 kB / 1.116 GB, free: 6.555 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.7569, allocations: 1.256 MB / 1.118 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.7574, allocations: 178.4 kB / 1.118 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.7577, allocations: 128.8 kB / 1.118 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005726/0.7583, allocations: 307.2 kB / 1.118 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.7584, allocations: 34.56 kB / 1.118 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.7584, allocations: 0 / 1.118 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.002328/0.7607, allocations: 0.5769 MB / 1.119 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.7607, allocations: 55.41 kB / 1.119 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.761, allocations: 255 kB / 1.119 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.7611, allocations: 29.7 kB / 1.119 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.7612, allocations: 172.2 kB / 1.119 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.7612, allocations: 39.36 kB / 1.119 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.7613, allocations: 45.61 kB / 1.119 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7615, allocations: 330.8 kB / 1.12 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.7618, allocations: 95.91 kB / 1.12 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.7622, allocations: 137.9 kB / 1.12 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/0.7628, allocations: 237.7 kB / 1.12 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7628, allocations: 0 / 1.12 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001213/0.764, allocations: 354.3 kB / 1.12 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.764, allocations: 8.125 kB / 1.12 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.764, allocations: 4 kB / 1.12 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.7647, allocations: 92.69 kB / 1.12 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.7649, allocations: 39.97 kB / 1.12 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.7671, allocations: 1.727 MB / 1.122 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.7674, allocations: 35.75 kB / 1.122 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.7674, allocations: 4 kB / 1.122 GB, free: 28 kB / 0.8731 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 (16): * 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: 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.0001631/0.7676, allocations: 149.9 kB / 1.122 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.7676, allocations: 23.72 kB / 1.122 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.7688, allocations: 363.9 kB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7689, allocations: 0 / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.7689, allocations: 0 / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7689, allocations: 8 kB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.7706, allocations: 0.7707 MB / 1.123 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.7706, allocations: 0 / 1.123 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.7708, allocations: 39.91 kB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.7713, allocations: 88.73 kB / 1.124 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.7713, allocations: 4 kB / 1.124 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.7734, allocations: 1.743 MB / 1.125 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7734, allocations: 0 / 1.125 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.7746, allocations: 456.8 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.7747, allocations: 124.7 kB / 1.126 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.7748, allocations: 11.94 kB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.7751, allocations: 23.97 kB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.7751, allocations: 19.91 kB / 1.126 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.7752, allocations: 12 kB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002025/0.7754, allocations: 186 kB / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7754, allocations: 0 / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004641/0.7759, allocations: 75.94 kB / 1.126 GB, free: 11.68 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 11 * 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.001847/0.7777, allocations: 1.052 MB / 1.127 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000999/0.7787, allocations: 365.6 kB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7787, allocations: 4 kB / 1.128 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.7794, allocations: 255 kB / 1.128 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007865/0.7802, allocations: 121.9 kB / 1.128 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.785, allocations: 2.81 MB / 1.131 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.7854, allocations: 0.7753 MB / 1.131 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002262/0.7856, allocations: 50.27 kB / 1.131 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.7858, allocations: 75.41 kB / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of SimCode: time 6.22e-07/0.7858, allocations: 0 / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.8172, allocations: 8.591 MB / 1.14 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.16, allocations: 9.844 kB / 1.14 GB, free: 13.57 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches