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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001626/0.001626, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002231/0.002231, allocations: 193.6 kB / 16.14 MB, free: 6.652 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 71.88 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.8307, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1908/1.022, allocations: 159.3 MB / 1.172 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005603/1.027, allocations: 3.521 MB / 1.176 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004365/1.028, allocations: 7.938 kB / 1.176 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005461/1.028, allocations: 103.3 kB / 1.176 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/1.03, allocations: 426.2 kB / 1.176 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/1.032, allocations: 0.5369 MB / 1.177 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001026/1.033, allocations: 0.8156 MB / 1.178 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/1.033, allocations: 200.6 kB / 1.178 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/1.035, allocations: 309.5 kB / 1.178 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/1.035, allocations: 203.1 kB / 1.178 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/1.035, allocations: 12 kB / 1.178 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/1.037, allocations: 0.6234 MB / 1.179 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/1.037, allocations: 95.64 kB / 1.179 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/1.037, allocations: 135.3 kB / 1.179 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/1.038, allocations: 0.5648 MB / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.038, allocations: 4 kB / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/1.038, allocations: 0 / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.229e-05/1.038, allocations: 0 / 1.18 GB, free: 11.43 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.001343/1.039, allocations: 0.635 MB / 1.18 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.04, allocations: 8.031 kB / 1.18 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.698e-05/1.04, allocations: 58.55 kB / 1.18 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005987/1.04, allocations: 83.5 kB / 1.18 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/1.041, allocations: 297.2 kB / 1.181 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/1.041, allocations: 16.44 kB / 1.181 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/1.041, allocations: 16 kB / 1.181 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/1.041, allocations: 312.2 kB / 1.181 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.042, allocations: 3.938 kB / 1.181 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/1.042, allocations: 8 kB / 1.181 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/1.042, allocations: 7.938 kB / 1.181 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/1.042, allocations: 264.8 kB / 1.181 GB, free: 9.625 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.001809/1.044, allocations: 1.24 MB / 1.182 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/1.045, allocations: 170.5 kB / 1.183 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/1.045, allocations: 124.8 kB / 1.183 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/1.046, allocations: 299.2 kB / 1.183 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/1.046, allocations: 34.56 kB / 1.183 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.714e-06/1.046, allocations: 4 kB / 1.183 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002514/1.048, allocations: 0.577 MB / 1.184 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/1.048, allocations: 51.41 kB / 1.184 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/1.049, allocations: 263 kB / 1.184 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/1.049, allocations: 25.7 kB / 1.184 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/1.049, allocations: 164.2 kB / 1.184 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/1.049, allocations: 51.27 kB / 1.184 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/1.049, allocations: 33.72 kB / 1.184 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.049, allocations: 334.8 kB / 1.185 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/1.049, allocations: 99.84 kB / 1.185 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/1.05, allocations: 137.1 kB / 1.185 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/1.05, allocations: 232.1 kB / 1.185 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.05, allocations: 0 / 1.185 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001286/1.052, allocations: 359 kB / 1.185 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.052, allocations: 9.703 kB / 1.185 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.052, allocations: 128 / 1.185 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006536/1.052, allocations: 88.77 kB / 1.185 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/1.053, allocations: 47.89 kB / 1.185 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/1.055, allocations: 1.623 MB / 1.187 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/1.055, allocations: 35.77 kB / 1.187 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/1.055, allocations: 7.984 kB / 1.187 GB, free: 3.227 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.000181/1.055, allocations: 146.3 kB / 1.187 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.211e-05/1.056, allocations: 23.72 kB / 1.187 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/1.057, allocations: 360 kB / 1.188 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.057, allocations: 7.984 kB / 1.188 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/1.057, allocations: 3.938 kB / 1.188 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.057, allocations: 0 / 1.188 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/1.059, allocations: 0.7785 MB / 1.188 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.059, allocations: 192 / 1.188 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/1.059, allocations: 31.97 kB / 1.188 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005576/1.059, allocations: 92.84 kB / 1.188 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/1.059, allocations: 4 kB / 1.188 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/1.062, allocations: 1.621 MB / 1.19 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.062, allocations: 8.047 kB / 1.19 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.063, allocations: 452.5 kB / 1.19 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/1.063, allocations: 132.6 kB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/1.063, allocations: 12 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/1.063, allocations: 19.97 kB / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/1.063, allocations: 15.98 kB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/1.063, allocations: 7.984 kB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002007/1.064, allocations: 193.9 kB / 1.191 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/1.064, allocations: 0 / 1.191 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000544/1.064, allocations: 83.84 kB / 1.191 GB, free: 14.99 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.001913/1.066, allocations: 1.06 MB / 1.192 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001112/1.067, allocations: 358.6 kB / 1.192 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.067, allocations: 0 / 1.192 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006441/1.068, allocations: 254.5 kB / 1.193 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/1.069, allocations: 114.6 kB / 1.193 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/1.074, allocations: 2.89 MB / 1.195 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/1.075, allocations: 0.7753 MB / 1.196 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003016/1.075, allocations: 58.23 kB / 1.196 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/1.075, allocations: 71.42 kB / 1.196 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/1.075, allocations: 0 / 1.196 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/1.104, allocations: 8.068 MB / 1.204 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/1.104, allocations: 272.4 kB / 1.204 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.329, allocations: 4.062 kB / 1.204 GB, free: 1 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