Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 216.4 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.889/2.889, allocations: 476.7 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.22 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.321, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1932/0.5141, allocations: 165 MB / 1.445 GB, free: 6.047 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005847/0.52, allocations: 3.544 MB / 1.448 GB, free: 2.488 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.5205, allocations: 19.81 kB / 1.448 GB, free: 2.469 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.521, allocations: 139 kB / 1.448 GB, free: 2.332 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.5226, allocations: 481.8 kB / 1.449 GB, free: 1.859 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.5248, allocations: 0.63 MB / 1.449 GB, free: 1.23 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.5261, allocations: 0.64 MB / 1.45 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.5266, allocations: 184.4 kB / 1.45 GB, free: 424 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.5286, allocations: 355.9 kB / 1.45 GB, free: 80 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.5292, allocations: 203.3 kB / 1.451 GB, free: 15.88 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 8.755e-05/0.5293, allocations: 28 kB / 1.451 GB, free: 15.85 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.5306, allocations: 0.6 MB / 1.451 GB, free: 15.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.5308, allocations: 107.7 kB / 1.451 GB, free: 15.14 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.5311, allocations: 147.2 kB / 1.451 GB, free: 15 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.5328, allocations: 0.5459 MB / 1.452 GB, free: 14.45 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.5328, allocations: 0 / 1.452 GB, free: 14.45 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5328, allocations: 0 / 1.452 GB, free: 14.45 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.599e-05/0.5328, allocations: 4 kB / 1.452 GB, free: 14.45 MB / 1.154 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.001351/0.5342, allocations: 0.5765 MB / 1.453 GB, free: 13.84 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5342, allocations: 8.031 kB / 1.453 GB, free: 13.84 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.408e-05/0.5343, allocations: 58.53 kB / 1.453 GB, free: 13.77 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006347/0.5349, allocations: 75.69 kB / 1.453 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.5354, allocations: 247.6 kB / 1.453 GB, free: 13.43 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5354, allocations: 12.44 kB / 1.453 GB, free: 13.42 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.5355, allocations: 27.94 kB / 1.453 GB, free: 13.39 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.5362, allocations: 312.1 kB / 1.453 GB, free: 13.06 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5362, allocations: 0 / 1.453 GB, free: 13.06 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.5362, allocations: 15.98 kB / 1.453 GB, free: 13.05 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.5363, allocations: 7.938 kB / 1.453 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007075/0.537, allocations: 248.9 kB / 1.453 GB, free: 12.8 MB / 1.154 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.001911/0.5389, allocations: 1.214 MB / 1.455 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.5393, allocations: 167.8 kB / 1.455 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.5396, allocations: 116.8 kB / 1.455 GB, free: 11.19 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004998/0.5401, allocations: 75.92 kB / 1.455 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5402, allocations: 34.5 kB / 1.455 GB, free: 11.07 MB / 1.154 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.5402, allocations: 0 / 1.455 GB, free: 11.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=14): time 0.002318/0.5425, allocations: 0.4954 MB / 1.456 GB, free: 10.57 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.5425, allocations: 59.41 kB / 1.456 GB, free: 10.5 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.5429, allocations: 256.2 kB / 1.456 GB, free: 10.23 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.5429, allocations: 25.7 kB / 1.456 GB, free: 10.2 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.543, allocations: 172.2 kB / 1.456 GB, free: 10.03 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.5431, allocations: 55.47 kB / 1.456 GB, free: 9.977 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/0.5432, allocations: 37.7 kB / 1.456 GB, free: 9.934 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5433, allocations: 334.8 kB / 1.456 GB, free: 9.598 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.5436, allocations: 95.92 kB / 1.457 GB, free: 9.504 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.544, allocations: 134.5 kB / 1.457 GB, free: 9.359 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.5446, allocations: 240.1 kB / 1.457 GB, free: 9.109 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5446, allocations: 8 kB / 1.457 GB, free: 9.102 MB / 1.154 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001239/0.5458, allocations: 347.2 kB / 1.457 GB, free: 8.754 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5458, allocations: 4 kB / 1.457 GB, free: 8.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5458, allocations: 4 kB / 1.457 GB, free: 8.746 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006357/0.5465, allocations: 84.89 kB / 1.457 GB, free: 8.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.5467, allocations: 47.89 kB / 1.457 GB, free: 8.613 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.5493, allocations: 1.638 MB / 1.459 GB, free: 6.859 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.5496, allocations: 31.88 kB / 1.459 GB, free: 6.828 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.5496, allocations: 16 kB / 1.459 GB, free: 6.812 MB / 1.154 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.0001968/0.5498, allocations: 145.8 kB / 1.459 GB, free: 6.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.5499, allocations: 27.8 kB / 1.459 GB, free: 6.633 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.5511, allocations: 363.9 kB / 1.46 GB, free: 6.27 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5511, allocations: 0 / 1.46 GB, free: 6.27 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.5511, allocations: 0 / 1.46 GB, free: 6.27 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.5511, allocations: 4 kB / 1.46 GB, free: 6.266 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.553, allocations: 0.7425 MB / 1.46 GB, free: 5.461 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.553, allocations: 0 / 1.46 GB, free: 5.461 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.5532, allocations: 35.97 kB / 1.46 GB, free: 5.426 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/0.5536, allocations: 84.8 kB / 1.46 GB, free: 5.34 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.5537, allocations: 4 kB / 1.46 GB, free: 5.336 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.5558, allocations: 1.652 MB / 1.462 GB, free: 3.562 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5558, allocations: 0 / 1.462 GB, free: 3.562 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.5572, allocations: 454.6 kB / 1.462 GB, free: 3.09 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.5573, allocations: 47.77 kB / 1.462 GB, free: 3.043 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.5574, allocations: 7.938 kB / 1.462 GB, free: 3.035 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.5576, allocations: 23.97 kB / 1.462 GB, free: 3.012 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.5577, allocations: 15.97 kB / 1.463 GB, free: 2.996 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.5577, allocations: 15.94 kB / 1.463 GB, free: 2.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002057/0.5579, allocations: 183.1 kB / 1.463 GB, free: 2.805 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5579, allocations: 0 / 1.463 GB, free: 2.805 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004796/0.5584, allocations: 87.88 kB / 1.463 GB, free: 2.719 MB / 1.154 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.001734/0.5602, allocations: 1.034 MB / 1.464 GB, free: 1.645 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.5612, allocations: 357.9 kB / 1.464 GB, free: 1.285 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5612, allocations: 0 / 1.464 GB, free: 1.285 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006201/0.5618, allocations: 254.7 kB / 1.464 GB, free: 1.023 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.5626, allocations: 113.2 kB / 1.464 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/0.568, allocations: 2.82 MB / 1.467 GB, free: 13.97 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.5685, allocations: 0.7753 MB / 1.468 GB, free: 13.17 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002708/0.5688, allocations: 58.23 kB / 1.468 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.569, allocations: 75.36 kB / 1.468 GB, free: 13.04 MB / 1.17 GB Notification: Performance of SimCode: time 1.032e-06/0.569, allocations: 0 / 1.468 GB, free: 13.04 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.6137, allocations: 8.849 MB / 1.477 GB, free: 4.402 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.18, allocations: 9.031 kB / 1.477 GB, free: 4.398 MB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.856292061973363]