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.001046/0.001045, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009758/0.0009758, allocations: 188.4 kB / 16.25 MB, free: 6.633 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.292/2.292, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5177/0.5191, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1439/0.663, allocations: 159.3 MB / 1.172 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.6666, allocations: 3.461 MB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.6668, allocations: 15.94 kB / 1.176 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.6671, allocations: 119.3 kB / 1.176 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008002/0.6679, allocations: 426.2 kB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.669, allocations: 0.5543 MB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005269/0.6695, allocations: 0.6245 MB / 1.178 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.6698, allocations: 224.6 kB / 1.178 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.671, allocations: 345.7 kB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.6713, allocations: 207.1 kB / 1.178 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.6713, allocations: 24 kB / 1.178 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000687/0.672, allocations: 0.565 MB / 1.179 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.6721, allocations: 99.72 kB / 1.179 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.6722, allocations: 147.2 kB / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.6728, allocations: 0.5726 MB / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.6728, allocations: 0 / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6729, allocations: 0 / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.299e-06/0.6729, allocations: 0 / 1.18 GB, free: 11.46 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.0008777/0.6737, allocations: 0.635 MB / 1.18 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.6738, allocations: 12.03 kB / 1.18 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.6738, allocations: 50.55 kB / 1.18 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004483/0.6743, allocations: 79.5 kB / 1.18 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.6746, allocations: 293.3 kB / 1.181 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6746, allocations: 16.44 kB / 1.181 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.6747, allocations: 20 kB / 1.181 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.6752, allocations: 312.2 kB / 1.181 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6752, allocations: 0 / 1.181 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.6753, allocations: 8 kB / 1.181 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.6753, allocations: 11.94 kB / 1.181 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.6759, allocations: 256.7 kB / 1.181 GB, free: 9.676 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.001347/0.6773, allocations: 1.252 MB / 1.183 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.6777, allocations: 174.5 kB / 1.183 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.6779, allocations: 120.8 kB / 1.183 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005204/0.6785, allocations: 307.2 kB / 1.183 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.6785, allocations: 30.56 kB / 1.183 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.143e-06/0.6785, allocations: 0 / 1.183 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002036/0.6805, allocations: 0.5731 MB / 1.184 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.6806, allocations: 63.39 kB / 1.184 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.6808, allocations: 251 kB / 1.184 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.6808, allocations: 29.7 kB / 1.184 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.6809, allocations: 168.2 kB / 1.184 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.681, allocations: 39.36 kB / 1.184 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.681, allocations: 45.61 kB / 1.184 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.6811, allocations: 330.8 kB / 1.185 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.6814, allocations: 103.9 kB / 1.185 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.6817, allocations: 133.9 kB / 1.185 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.6822, allocations: 237.7 kB / 1.185 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6822, allocations: 4 kB / 1.185 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001051/0.6833, allocations: 358.7 kB / 1.185 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.6833, allocations: 4 kB / 1.185 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6833, allocations: 4 kB / 1.185 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.6839, allocations: 84.89 kB / 1.185 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.6841, allocations: 39.97 kB / 1.185 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.46/1.144, allocations: 1.742 MB / 1.187 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/1.144, allocations: 35.81 kB / 1.187 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/1.144, allocations: 4 kB / 1.187 GB, free: 3.148 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.0001684/1.145, allocations: 141.8 kB / 1.187 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/1.145, allocations: 23.72 kB / 1.187 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/1.146, allocations: 378.3 kB / 1.188 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.146, allocations: 4 kB / 1.188 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/1.146, allocations: 3.938 kB / 1.188 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.146, allocations: 0 / 1.188 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/1.148, allocations: 0.7669 MB / 1.188 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.148, allocations: 0 / 1.188 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/1.148, allocations: 39.91 kB / 1.189 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004865/1.149, allocations: 84.8 kB / 1.189 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/1.149, allocations: 0 / 1.189 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/1.15, allocations: 1.747 MB / 1.19 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.15, allocations: 7.969 kB / 1.19 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/1.151, allocations: 458.2 kB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/1.151, allocations: 120.7 kB / 1.191 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/1.151, allocations: 11.94 kB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/1.152, allocations: 23.97 kB / 1.191 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/1.152, allocations: 19.97 kB / 1.191 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.152, allocations: 8 kB / 1.191 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001484/1.152, allocations: 190 kB / 1.191 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.152, allocations: 3.938 kB / 1.191 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003334/1.152, allocations: 79.84 kB / 1.191 GB, free: 14.79 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.001415/1.154, allocations: 1.046 MB / 1.192 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008432/1.155, allocations: 370.6 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.155, allocations: 4 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/1.155, allocations: 258.7 kB / 1.193 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/1.156, allocations: 118.8 kB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/1.16, allocations: 2.884 MB / 1.196 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/1.16, allocations: 0.7675 MB / 1.197 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000189/1.16, allocations: 54.23 kB / 1.197 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/1.16, allocations: 75.41 kB / 1.197 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/1.16, allocations: 7.938 kB / 1.197 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.212/3.372, allocations: 8.314 MB / 1.205 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/3.372, allocations: 276 kB / 1.205 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/5.568, allocations: 4 kB / 1.205 GB, free: 0.5625 MB / 0.9512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 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.mat","/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