Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.001657/0.001657, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002221/0.002221, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.037/3.037, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="cs",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.001939/0.001939, allocations: 63.77 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3418, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.175/0.5168, allocations: 145.6 MB / 1.488 GB, free: 13.73 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.5198, allocations: 1.477 MB / 1.489 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.5202, allocations: 11.88 kB / 1.489 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.5207, allocations: 150.9 kB / 1.489 GB, free: 12.09 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.522, allocations: 481.9 kB / 1.49 GB, free: 11.61 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.5239, allocations: 0.7758 MB / 1.49 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008333/0.5247, allocations: 0.7098 MB / 1.491 GB, free: 10.12 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.525, allocations: 203.7 kB / 1.491 GB, free: 9.922 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008571/0.5259, allocations: 490.3 kB / 1.492 GB, free: 9.441 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.5262, allocations: 239 kB / 1.492 GB, free: 9.207 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.5262, allocations: 24 kB / 1.492 GB, free: 9.184 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.5275, allocations: 0.7482 MB / 1.493 GB, free: 8.434 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.5277, allocations: 119.6 kB / 1.493 GB, free: 8.316 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.5278, allocations: 127.5 kB / 1.493 GB, free: 8.191 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.5289, allocations: 0.7204 MB / 1.494 GB, free: 7.469 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5289, allocations: 4 kB / 1.494 GB, free: 7.465 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5289, allocations: 0 / 1.494 GB, free: 7.465 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.529, allocations: 3.938 kB / 1.494 GB, free: 7.461 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001262/0.5302, allocations: 0.6095 MB / 1.494 GB, free: 6.82 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.5303, allocations: 15.97 kB / 1.494 GB, free: 6.805 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.699e-05/0.5303, allocations: 4.5 kB / 1.494 GB, free: 6.801 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.293e-05/0.5303, allocations: 62.47 kB / 1.494 GB, free: 6.73 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005129/0.5309, allocations: 87.7 kB / 1.494 GB, free: 6.645 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.5313, allocations: 256.1 kB / 1.495 GB, free: 6.367 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.5313, allocations: 20.48 kB / 1.495 GB, free: 6.348 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.5314, allocations: 20 kB / 1.495 GB, free: 6.328 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.532, allocations: 361 kB / 1.495 GB, free: 5.953 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5321, allocations: 0 / 1.495 GB, free: 5.953 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.5321, allocations: 11.94 kB / 1.495 GB, free: 5.941 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.5321, allocations: 8 kB / 1.495 GB, free: 5.934 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.5328, allocations: 289.5 kB / 1.495 GB, free: 5.648 MB / 1.186 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.001685/0.5345, allocations: 0.9742 MB / 1.496 GB, free: 4.617 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00087/0.5354, allocations: 230.5 kB / 1.496 GB, free: 4.383 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.5357, allocations: 132.8 kB / 1.497 GB, free: 4.25 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/0.5362, allocations: 79.91 kB / 1.497 GB, free: 4.172 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5362, allocations: 34.56 kB / 1.497 GB, free: 4.129 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 3.246e-06/0.5362, allocations: 7.984 kB / 1.497 GB, free: 4.121 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001207/0.5375, allocations: 410.3 kB / 1.497 GB, free: 3.715 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.5375, allocations: 55.41 kB / 1.497 GB, free: 3.648 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.5378, allocations: 272.2 kB / 1.497 GB, free: 3.375 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.5378, allocations: 25.7 kB / 1.497 GB, free: 3.344 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.5379, allocations: 180.3 kB / 1.498 GB, free: 3.164 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-05/0.538, allocations: 67.42 kB / 1.498 GB, free: 3.098 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.5381, allocations: 41.7 kB / 1.498 GB, free: 3.051 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5382, allocations: 338.8 kB / 1.498 GB, free: 2.711 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.5385, allocations: 103.9 kB / 1.498 GB, free: 2.609 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.5389, allocations: 241.2 kB / 1.498 GB, free: 2.336 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.5395, allocations: 283.4 kB / 1.499 GB, free: 2.043 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5395, allocations: 0 / 1.499 GB, free: 2.043 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007221/0.5403, allocations: 313.2 kB / 1.499 GB, free: 1.73 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5403, allocations: 6.031 kB / 1.499 GB, free: 1.727 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5403, allocations: 7.938 kB / 1.499 GB, free: 1.719 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5403, allocations: 0 / 1.499 GB, free: 1.719 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.5406, allocations: 63.89 kB / 1.499 GB, free: 1.656 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5406, allocations: 0 / 1.499 GB, free: 1.656 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.5408, allocations: 43.75 kB / 1.499 GB, free: 1.613 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.5408, allocations: 12.12 kB / 1.499 GB, free: 1.602 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.541, allocations: 157.8 kB / 1.499 GB, free: 1.438 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.5411, allocations: 23.86 kB / 1.499 GB, free: 1.414 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007828/0.5418, allocations: 328.9 kB / 1.5 GB, free: 1.086 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5418, allocations: 0 / 1.5 GB, free: 1.086 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5418, allocations: 7.938 kB / 1.5 GB, free: 1.078 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5419, allocations: 3.984 kB / 1.5 GB, free: 1.074 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.5433, allocations: 0.752 MB / 1.5 GB, free: 260 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.5433, allocations: 0 / 1.5 GB, free: 260 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.5436, allocations: 47.95 kB / 1.5 GB, free: 212 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.5436, allocations: 4 kB / 1.5 GB, free: 208 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.5436, allocations: 8 kB / 1.5 GB, free: 200 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5436, allocations: 0 / 1.5 GB, free: 200 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5436, allocations: 7.938 kB / 1.5 GB, free: 192 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.5448, allocations: 0.5571 MB / 1.501 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5449, allocations: 51.75 kB / 1.501 GB, free: 15.54 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.5449, allocations: 8 kB / 1.501 GB, free: 15.54 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.5451, allocations: 28.03 kB / 1.501 GB, free: 15.51 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.5452, allocations: 27.84 kB / 1.501 GB, free: 15.48 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.5452, allocations: 4 kB / 1.501 GB, free: 15.48 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000186/0.5454, allocations: 199.1 kB / 1.501 GB, free: 15.29 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5454, allocations: 0 / 1.501 GB, free: 15.29 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004681/0.5459, allocations: 107.8 kB / 1.501 GB, free: 15.18 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001714/0.5476, allocations: 1.172 MB / 1.502 GB, free: 13.97 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007201/0.5483, allocations: 255.6 kB / 1.503 GB, free: 13.72 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5483, allocations: 0 / 1.503 GB, free: 13.72 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.5487, allocations: 132.5 kB / 1.503 GB, free: 13.59 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.5494, allocations: 135 kB / 1.503 GB, free: 13.46 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.5537, allocations: 2.979 MB / 1.506 GB, free: 10.34 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.5538, allocations: 174.8 kB / 1.506 GB, free: 10.15 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00023/0.5541, allocations: 66.23 kB / 1.506 GB, free: 10.08 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.5542, allocations: 87.41 kB / 1.506 GB, free: 9.996 MB / 1.201 GB Notification: Performance of SimCode: time 5.11e-07/0.5542, allocations: 0 / 1.506 GB, free: 9.996 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.5871, allocations: 9.695 MB / 1.516 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.91, allocations: 12.33 kB / 1.516 GB, free: 0.5625 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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: 18.28444910107646]