Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_10_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.001493/0.001493, 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.001876/0.001876, allocations: 192.9 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6057/0.6071, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1771/0.7842, allocations: 161.5 MB / 1.175 GB, free: 392 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004983/0.7892, allocations: 3.494 MB / 1.179 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.7896, allocations: 7.938 kB / 1.179 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004713/0.7902, allocations: 135 kB / 1.179 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.7914, allocations: 453.8 kB / 1.179 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.793, allocations: 0.5968 MB / 1.18 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000775/0.7938, allocations: 0.6206 MB / 1.18 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004109/0.7942, allocations: 236.6 kB / 1.181 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.7955, allocations: 338.7 kB / 1.181 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.7958, allocations: 199.2 kB / 1.181 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.7959, allocations: 24 kB / 1.181 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009865/0.7969, allocations: 0.5456 MB / 1.182 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.797, allocations: 103.7 kB / 1.182 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.7972, allocations: 143.3 kB / 1.182 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009015/0.7981, allocations: 0.5337 MB / 1.182 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7981, allocations: 0 / 1.182 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.106e-06/0.7981, allocations: 0 / 1.182 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.7981, allocations: 3.938 kB / 1.182 GB, free: 8.973 MB / 0.9356 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.001062/0.7992, allocations: 0.635 MB / 1.183 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.7993, allocations: 12.03 kB / 1.183 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.7993, allocations: 50.55 kB / 1.183 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005292/0.7999, allocations: 79.5 kB / 1.183 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.8002, allocations: 293.4 kB / 1.183 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.8003, allocations: 16.44 kB / 1.183 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.8003, allocations: 20 kB / 1.183 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.8009, allocations: 312.2 kB / 1.184 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.801, allocations: 0 / 1.184 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.801, allocations: 4 kB / 1.184 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.801, allocations: 19.88 kB / 1.184 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/0.8017, allocations: 248.9 kB / 1.184 GB, free: 7.188 MB / 0.9356 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.001679/0.8034, allocations: 1.252 MB / 1.185 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.8039, allocations: 186.5 kB / 1.185 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.8042, allocations: 116.8 kB / 1.185 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.8048, allocations: 307.2 kB / 1.186 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.8048, allocations: 34.56 kB / 1.186 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.8048, allocations: 0 / 1.186 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002233/0.8071, allocations: 0.5731 MB / 1.186 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.8071, allocations: 55.41 kB / 1.186 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.8074, allocations: 259 kB / 1.187 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.8074, allocations: 29.7 kB / 1.187 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.8075, allocations: 160.2 kB / 1.187 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/0.8076, allocations: 47.34 kB / 1.187 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.8077, allocations: 41.61 kB / 1.187 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.8078, allocations: 330.8 kB / 1.187 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.8081, allocations: 103.9 kB / 1.187 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.8084, allocations: 136.1 kB / 1.187 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/0.809, allocations: 233.9 kB / 1.188 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.809, allocations: 0 / 1.188 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001161/0.8102, allocations: 358.7 kB / 1.188 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8102, allocations: 11.94 kB / 1.188 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8102, allocations: 0 / 1.188 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.8109, allocations: 88.88 kB / 1.188 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.8111, allocations: 39.97 kB / 1.188 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.8133, allocations: 1.745 MB / 1.19 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.8136, allocations: 27.81 kB / 1.19 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.8136, allocations: 12 kB / 1.19 GB, free: 0.6484 MB / 0.9356 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.0001538/0.8138, allocations: 139.7 kB / 1.19 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.8139, allocations: 23.72 kB / 1.19 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.8151, allocations: 375.9 kB / 1.19 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.8151, allocations: 7.938 kB / 1.19 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.8151, allocations: 0 / 1.19 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8151, allocations: 0 / 1.19 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.8168, allocations: 0.763 MB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.8168, allocations: 8.094 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.817, allocations: 39.91 kB / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/0.8175, allocations: 84.7 kB / 1.191 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.8175, allocations: 0 / 1.191 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.8196, allocations: 1.735 MB / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8196, allocations: 0 / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.8208, allocations: 462.2 kB / 1.193 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.8209, allocations: 128.8 kB / 1.194 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.821, allocations: 7.938 kB / 1.194 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.8212, allocations: 23.97 kB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.8213, allocations: 23.91 kB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.8213, allocations: 4.062 kB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001727/0.8215, allocations: 186 kB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.8215, allocations: 0 / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004296/0.822, allocations: 87.84 kB / 1.194 GB, free: 12.3 MB / 0.9512 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.001678/0.8236, allocations: 1.046 MB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.8247, allocations: 374.6 kB / 1.195 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8247, allocations: 0 / 1.195 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.8253, allocations: 254.5 kB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/0.826, allocations: 125.4 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/0.8312, allocations: 2.803 MB / 1.198 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.8316, allocations: 0.7714 MB / 1.199 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002489/0.8318, allocations: 54.27 kB / 1.199 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.832, allocations: 79.41 kB / 1.199 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of SimCode: time 1.152e-06/0.832, allocations: 0 / 1.199 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.8632, allocations: 8.574 MB / 1.208 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.22, allocations: 24.56 kB / 1.208 GB, free: 14.2 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches