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.001312/0.001312, 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.001386/0.001386, allocations: 217.8 kB / 22.26 MB, free: 5.113 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.323/1.323, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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 2.925/2.925, allocations: 0.505 GB / 0.8101 GB, free: 22.09 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",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.001868/0.001868, allocations: 66.73 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2975, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1848/0.4823, allocations: 168.9 MB / 1.518 GB, free: 14.93 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.4851, allocations: 1.554 MB / 1.519 GB, free: 13.38 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.4853, allocations: 15.88 kB / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.4858, allocations: 146.9 kB / 1.519 GB, free: 13.21 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.487, allocations: 497.8 kB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.4888, allocations: 0.796 MB / 1.521 GB, free: 11.93 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0008605/0.4896, allocations: 0.7214 MB / 1.521 GB, free: 11.2 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.49, allocations: 203.1 kB / 1.522 GB, free: 11 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009258/0.4909, allocations: 486.2 kB / 1.522 GB, free: 10.53 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.4913, allocations: 243 kB / 1.522 GB, free: 10.29 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.069e-05/0.4913, allocations: 24 kB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.4928, allocations: 0.9236 MB / 1.523 GB, free: 9.34 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.493, allocations: 119.6 kB / 1.523 GB, free: 9.223 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.4931, allocations: 151.3 kB / 1.524 GB, free: 9.074 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.4943, allocations: 0.7477 MB / 1.524 GB, free: 8.324 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4943, allocations: 4 kB / 1.524 GB, free: 8.32 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4943, allocations: 4 kB / 1.524 GB, free: 8.316 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.4943, allocations: 3.938 kB / 1.524 GB, free: 8.312 MB / 1.217 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.001174/0.4955, allocations: 0.6134 MB / 1.525 GB, free: 7.668 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4955, allocations: 11.97 kB / 1.525 GB, free: 7.656 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.96e-05/0.4956, allocations: 58.53 kB / 1.525 GB, free: 7.59 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004828/0.4961, allocations: 91.64 kB / 1.525 GB, free: 7.5 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.4966, allocations: 248.1 kB / 1.525 GB, free: 7.234 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.4966, allocations: 20.5 kB / 1.525 GB, free: 7.215 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.4966, allocations: 24 kB / 1.525 GB, free: 7.191 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.4973, allocations: 335.3 kB / 1.526 GB, free: 6.844 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4973, allocations: 0 / 1.526 GB, free: 6.844 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.4973, allocations: 11.94 kB / 1.526 GB, free: 6.832 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4974, allocations: 4 kB / 1.526 GB, free: 6.828 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007276/0.4981, allocations: 285.5 kB / 1.526 GB, free: 6.547 MB / 1.217 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.001698/0.4998, allocations: 1.033 MB / 1.527 GB, free: 5.457 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/0.5006, allocations: 230.5 kB / 1.527 GB, free: 5.223 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.5009, allocations: 132.8 kB / 1.527 GB, free: 5.09 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005212/0.5014, allocations: 83.91 kB / 1.527 GB, free: 5.008 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.5015, allocations: 30.56 kB / 1.527 GB, free: 4.969 MB / 1.217 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.5015, allocations: 4 kB / 1.527 GB, free: 4.965 MB / 1.217 GB Notification: Performance of matching and sorting (n=19): time 0.001201/0.5027, allocations: 410.7 kB / 1.528 GB, free: 4.559 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.5027, allocations: 59.41 kB / 1.528 GB, free: 4.488 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.503, allocations: 272.2 kB / 1.528 GB, free: 4.211 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.503, allocations: 29.7 kB / 1.528 GB, free: 4.176 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5032, allocations: 168.4 kB / 1.528 GB, free: 4.008 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.5032, allocations: 71.41 kB / 1.528 GB, free: 3.938 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.5033, allocations: 45.7 kB / 1.528 GB, free: 3.887 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5035, allocations: 334.8 kB / 1.529 GB, free: 3.551 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.5038, allocations: 107.9 kB / 1.529 GB, free: 3.445 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.5041, allocations: 159.5 kB / 1.529 GB, free: 3.27 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.5047, allocations: 279.1 kB / 1.529 GB, free: 2.98 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5047, allocations: 0 / 1.529 GB, free: 2.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007134/0.5054, allocations: 322.7 kB / 1.53 GB, free: 2.66 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5054, allocations: 8.156 kB / 1.53 GB, free: 2.652 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5054, allocations: 0 / 1.53 GB, free: 2.652 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5055, allocations: 7.938 kB / 1.53 GB, free: 2.645 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.5057, allocations: 55.89 kB / 1.53 GB, free: 2.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.5057, allocations: 7.984 kB / 1.53 GB, free: 2.582 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.506, allocations: 43.75 kB / 1.53 GB, free: 2.539 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.506, allocations: 8 kB / 1.53 GB, free: 2.531 MB / 1.217 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.0001533/0.5061, allocations: 161.7 kB / 1.53 GB, free: 2.363 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.5062, allocations: 27.89 kB / 1.53 GB, free: 2.336 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.507, allocations: 323.4 kB / 1.53 GB, free: 2.012 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.507, allocations: 4 kB / 1.53 GB, free: 2.008 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.507, allocations: 4 kB / 1.53 GB, free: 2.004 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.507, allocations: 3.938 kB / 1.53 GB, free: 2 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.5085, allocations: 0.8319 MB / 1.531 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5085, allocations: 4 kB / 1.531 GB, free: 1.086 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.5087, allocations: 43.95 kB / 1.531 GB, free: 1.043 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5087, allocations: 4 kB / 1.531 GB, free: 1.039 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.5088, allocations: 8.188 kB / 1.531 GB, free: 1.031 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.5088, allocations: 11.94 kB / 1.531 GB, free: 1.02 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5088, allocations: 0 / 1.531 GB, free: 1.02 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.5098, allocations: 0.5562 MB / 1.532 GB, free: 440 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5099, allocations: 51.72 kB / 1.532 GB, free: 388 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.51, allocations: 8.062 kB / 1.532 GB, free: 380 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.5102, allocations: 23.91 kB / 1.532 GB, free: 356 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.5103, allocations: 23.91 kB / 1.532 GB, free: 332 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.5103, allocations: 12 kB / 1.532 GB, free: 320 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000178/0.5105, allocations: 191.1 kB / 1.532 GB, free: 132 kB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5105, allocations: 4 kB / 1.532 GB, free: 128 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004234/0.5109, allocations: 107.8 kB / 1.532 GB, free: 20 kB / 1.217 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.001574/0.5125, allocations: 1.176 MB / 1.533 GB, free: 14.8 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006631/0.5131, allocations: 251.6 kB / 1.533 GB, free: 14.55 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5131, allocations: 0 / 1.533 GB, free: 14.55 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.5135, allocations: 136.3 kB / 1.533 GB, free: 14.42 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.5142, allocations: 132.1 kB / 1.534 GB, free: 14.29 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/0.5183, allocations: 2.977 MB / 1.537 GB, free: 11.17 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.5187, allocations: 0.7792 MB / 1.537 GB, free: 10.37 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000207/0.5189, allocations: 66.19 kB / 1.537 GB, free: 10.3 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.519, allocations: 95.39 kB / 1.537 GB, free: 10.21 MB / 1.232 GB Notification: Performance of SimCode: time 3.81e-07/0.519, allocations: 0 / 1.537 GB, free: 10.21 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.039/0.558, allocations: 9.211 MB / 1.546 GB, free: 1.207 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.02, allocations: 8 kB / 1.546 GB, free: 1.199 MB / 1.232 GB " [Timeout remaining time 289] (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: 16.977553461911157]