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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.5 MB / 0.7287 GB, free: 13.39 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 75.88 kB / 1.056 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7411/0.7433, allocations: 160.7 MB / 1.213 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1952/0.9385, allocations: 162 MB / 1.371 GB, free: 5.637 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005117/0.9436, allocations: 3.502 MB / 1.375 GB, free: 2.117 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.9439, allocations: 11.94 kB / 1.375 GB, free: 2.105 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.9444, allocations: 139 kB / 1.375 GB, free: 1.969 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.9457, allocations: 481.7 kB / 1.375 GB, free: 1.496 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.9474, allocations: 0.6066 MB / 1.376 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008407/0.9482, allocations: 0.6166 MB / 1.376 GB, free: 280 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.9486, allocations: 198.7 kB / 1.377 GB, free: 84 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.95, allocations: 353 kB / 1.377 GB, free: 15.75 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.9503, allocations: 211.1 kB / 1.377 GB, free: 15.54 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.9504, allocations: 24 kB / 1.377 GB, free: 15.52 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.9514, allocations: 0.5768 MB / 1.378 GB, free: 14.94 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.9515, allocations: 99.7 kB / 1.378 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.9517, allocations: 147.3 kB / 1.378 GB, free: 14.7 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.9526, allocations: 0.5527 MB / 1.378 GB, free: 14.14 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9526, allocations: 0 / 1.378 GB, free: 14.14 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.153e-06/0.9526, allocations: 0 / 1.378 GB, free: 14.14 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.9526, allocations: 0 / 1.378 GB, free: 14.14 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001182/0.9538, allocations: 0.6461 MB / 1.379 GB, free: 13.45 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.9538, allocations: 8.625 kB / 1.379 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.416e-05/0.9539, allocations: 54.55 kB / 1.379 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000508/0.9544, allocations: 83.69 kB / 1.379 GB, free: 13.3 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.9549, allocations: 309.4 kB / 1.38 GB, free: 12.95 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.9549, allocations: 16.44 kB / 1.38 GB, free: 12.94 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.9549, allocations: 20 kB / 1.38 GB, free: 12.92 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.9556, allocations: 316.1 kB / 1.38 GB, free: 12.59 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.9556, allocations: 0 / 1.38 GB, free: 12.59 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.9556, allocations: 12 kB / 1.38 GB, free: 12.58 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.9556, allocations: 7.938 kB / 1.38 GB, free: 12.57 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.9563, allocations: 244.9 kB / 1.38 GB, free: 12.33 MB / 1.092 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.001734/0.958, allocations: 1.256 MB / 1.381 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.9585, allocations: 166.5 kB / 1.381 GB, free: 10.79 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.9588, allocations: 116.8 kB / 1.382 GB, free: 10.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005999/0.9594, allocations: 303.2 kB / 1.382 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.9594, allocations: 34.56 kB / 1.382 GB, free: 10.28 MB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.9594, allocations: 0 / 1.382 GB, free: 10.28 MB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.002297/0.9617, allocations: 0.5759 MB / 1.382 GB, free: 9.68 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.9617, allocations: 55.34 kB / 1.383 GB, free: 9.613 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.962, allocations: 263 kB / 1.383 GB, free: 9.352 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.962, allocations: 25.7 kB / 1.383 GB, free: 9.32 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.9622, allocations: 172.2 kB / 1.383 GB, free: 9.148 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.9622, allocations: 47.64 kB / 1.383 GB, free: 9.102 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.9623, allocations: 33.67 kB / 1.383 GB, free: 9.062 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.9625, allocations: 342.8 kB / 1.383 GB, free: 8.719 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.9627, allocations: 91.91 kB / 1.383 GB, free: 8.629 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.9631, allocations: 136.1 kB / 1.384 GB, free: 8.48 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/0.9637, allocations: 244.1 kB / 1.384 GB, free: 8.227 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9637, allocations: 0 / 1.384 GB, free: 8.227 MB / 1.092 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001131/0.9648, allocations: 347.6 kB / 1.384 GB, free: 7.879 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.9648, allocations: 11.98 kB / 1.384 GB, free: 7.867 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9648, allocations: 3.938 kB / 1.384 GB, free: 7.863 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/0.9654, allocations: 88.89 kB / 1.384 GB, free: 7.773 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.9657, allocations: 43.91 kB / 1.384 GB, free: 7.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.9681, allocations: 1.724 MB / 1.386 GB, free: 5.859 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.9684, allocations: 35.92 kB / 1.386 GB, free: 5.824 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.9684, allocations: 8 kB / 1.386 GB, free: 5.816 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 (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.0001767/0.9686, allocations: 145.8 kB / 1.386 GB, free: 5.664 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.9686, allocations: 27.84 kB / 1.386 GB, free: 5.637 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.9698, allocations: 370.3 kB / 1.387 GB, free: 5.27 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.9698, allocations: 4 kB / 1.387 GB, free: 5.266 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.9698, allocations: 4 kB / 1.387 GB, free: 5.262 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.9698, allocations: 3.984 kB / 1.387 GB, free: 5.258 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.9715, allocations: 0.763 MB / 1.387 GB, free: 4.426 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9715, allocations: 3.938 kB / 1.387 GB, free: 4.422 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.9717, allocations: 40.05 kB / 1.387 GB, free: 4.383 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.9722, allocations: 80.66 kB / 1.387 GB, free: 4.301 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.9722, allocations: 8 kB / 1.387 GB, free: 4.293 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.9743, allocations: 1.735 MB / 1.389 GB, free: 2.414 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9743, allocations: 0 / 1.389 GB, free: 2.414 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.9755, allocations: 458.5 kB / 1.39 GB, free: 1.938 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.9756, allocations: 124.8 kB / 1.39 GB, free: 1.797 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.9757, allocations: 11.86 kB / 1.39 GB, free: 1.785 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.9759, allocations: 23.97 kB / 1.39 GB, free: 1.762 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.976, allocations: 19.98 kB / 1.39 GB, free: 1.742 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.976, allocations: 4.062 kB / 1.39 GB, free: 1.738 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001892/0.9762, allocations: 186 kB / 1.39 GB, free: 1.559 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9762, allocations: 3.938 kB / 1.39 GB, free: 1.555 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004264/0.9766, allocations: 87.88 kB / 1.39 GB, free: 1.469 MB / 1.092 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.001746/0.9784, allocations: 1.043 MB / 1.391 GB, free: 404 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.9794, allocations: 362.4 kB / 1.391 GB, free: 28 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9794, allocations: 0 / 1.391 GB, free: 28 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.98, allocations: 254.9 kB / 1.392 GB, free: 15.77 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.9807, allocations: 122.3 kB / 1.392 GB, free: 15.64 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004964/0.9856, allocations: 2.825 MB / 1.394 GB, free: 12.69 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.986, allocations: 0.7713 MB / 1.395 GB, free: 11.89 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.9862, allocations: 50.27 kB / 1.395 GB, free: 11.85 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.9863, allocations: 75.41 kB / 1.395 GB, free: 11.78 MB / 1.107 GB Notification: Performance of SimCode: time 5.51e-07/0.9863, allocations: 0 / 1.395 GB, free: 11.78 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03808/1.024, allocations: 8.747 MB / 1.404 GB, free: 3.234 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.41, allocations: 1.562 kB / 1.404 GB, free: 3.234 MB / 1.107 GB " [Timeout remaining time 286] (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 --stepSize=0.048 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.299591172020882]