Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00143/0.00143, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001636/0.001636, allocations: 209.5 kB / 23.04 MB, free: 5.07 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.891/2.891, allocations: 0.49 GB / 0.7959 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.RelativeHumidity,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_12_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.001814/0.001814, allocations: 64.92 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2814, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1809/0.4623, allocations: 168.9 MB / 1.492 GB, free: 8.445 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002848/0.4652, allocations: 1.543 MB / 1.493 GB, free: 6.898 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.4654, allocations: 19.81 kB / 1.493 GB, free: 6.879 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.4659, allocations: 138.9 kB / 1.493 GB, free: 6.742 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.467, allocations: 0.4901 MB / 1.494 GB, free: 6.25 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.4687, allocations: 0.8005 MB / 1.495 GB, free: 5.449 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008688/0.4695, allocations: 0.7136 MB / 1.495 GB, free: 4.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.4699, allocations: 211.1 kB / 1.495 GB, free: 4.52 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008936/0.4708, allocations: 486.3 kB / 1.496 GB, free: 4.043 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.4711, allocations: 239 kB / 1.496 GB, free: 3.809 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.4711, allocations: 24 kB / 1.496 GB, free: 3.785 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.4726, allocations: 0.9276 MB / 1.497 GB, free: 2.855 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.4727, allocations: 119.6 kB / 1.497 GB, free: 2.738 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.4729, allocations: 155.2 kB / 1.497 GB, free: 2.586 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.474, allocations: 0.7515 MB / 1.498 GB, free: 1.832 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.474, allocations: 0 / 1.498 GB, free: 1.832 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.062e-06/0.474, allocations: 0 / 1.498 GB, free: 1.832 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.474, allocations: 0 / 1.498 GB, free: 1.832 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.001094/0.4751, allocations: 0.6173 MB / 1.499 GB, free: 1.184 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.4751, allocations: 8.031 kB / 1.499 GB, free: 1.176 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.647e-05/0.4751, allocations: 8.5 kB / 1.499 GB, free: 1.168 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.4752, allocations: 66.47 kB / 1.499 GB, free: 1.094 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004573/0.4756, allocations: 79.75 kB / 1.499 GB, free: 1.016 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.4761, allocations: 252.2 kB / 1.499 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.4761, allocations: 20.44 kB / 1.499 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.4761, allocations: 24 kB / 1.499 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.4768, allocations: 331.4 kB / 1.499 GB, free: 368 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4768, allocations: 0 / 1.499 GB, free: 368 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.4768, allocations: 11.94 kB / 1.499 GB, free: 356 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4768, allocations: 4 kB / 1.499 GB, free: 352 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007066/0.4775, allocations: 289.5 kB / 1.5 GB, free: 64 kB / 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.00163/0.4792, allocations: 1.033 MB / 1.501 GB, free: 14.97 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/0.48, allocations: 234.5 kB / 1.501 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.4803, allocations: 132.8 kB / 1.501 GB, free: 14.6 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004892/0.4808, allocations: 83.91 kB / 1.501 GB, free: 14.52 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4808, allocations: 30.56 kB / 1.501 GB, free: 14.48 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.4808, allocations: 4 kB / 1.501 GB, free: 14.47 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001187/0.482, allocations: 414.4 kB / 1.502 GB, free: 14.06 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.4821, allocations: 59.34 kB / 1.502 GB, free: 13.99 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.4823, allocations: 268.2 kB / 1.502 GB, free: 13.72 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.4823, allocations: 29.7 kB / 1.502 GB, free: 13.69 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.4825, allocations: 168.5 kB / 1.502 GB, free: 13.52 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/0.4825, allocations: 75.36 kB / 1.502 GB, free: 13.45 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.824e-05/0.4826, allocations: 45.7 kB / 1.502 GB, free: 13.39 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4828, allocations: 334.8 kB / 1.502 GB, free: 13.06 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.4831, allocations: 103.9 kB / 1.503 GB, free: 12.96 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.4834, allocations: 163.5 kB / 1.503 GB, free: 12.78 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.484, allocations: 278.4 kB / 1.503 GB, free: 12.49 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.484, allocations: 0 / 1.503 GB, free: 12.49 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007486/0.4848, allocations: 319.6 kB / 1.503 GB, free: 12.17 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4848, allocations: 4 kB / 1.503 GB, free: 12.17 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4848, allocations: 7.875 kB / 1.503 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4848, allocations: 4 kB / 1.503 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.4851, allocations: 60.16 kB / 1.503 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4851, allocations: 4 kB / 1.503 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.4853, allocations: 47.84 kB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.4854, allocations: 11.94 kB / 1.503 GB, free: 12.04 MB / 1.201 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.0001612/0.4855, allocations: 157.8 kB / 1.504 GB, free: 11.87 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.4856, allocations: 31.8 kB / 1.504 GB, free: 11.84 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007701/0.4863, allocations: 315.5 kB / 1.504 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4863, allocations: 4 kB / 1.504 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4864, allocations: 0 / 1.504 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.4864, allocations: 3.984 kB / 1.504 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.4879, allocations: 0.8257 MB / 1.505 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4879, allocations: 4 kB / 1.505 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.4881, allocations: 43.95 kB / 1.505 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.4881, allocations: 4 kB / 1.505 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.4881, allocations: 8 kB / 1.505 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.4881, allocations: 7.938 kB / 1.505 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4881, allocations: 0 / 1.505 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.4893, allocations: 0.5678 MB / 1.505 GB, free: 9.941 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4894, allocations: 51.7 kB / 1.505 GB, free: 9.891 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.4894, allocations: 4 kB / 1.505 GB, free: 9.887 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.4896, allocations: 19.97 kB / 1.505 GB, free: 9.867 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.4897, allocations: 27.97 kB / 1.505 GB, free: 9.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.4897, allocations: 12 kB / 1.505 GB, free: 9.828 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001839/0.4899, allocations: 191.1 kB / 1.506 GB, free: 9.641 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.4899, allocations: 4 kB / 1.506 GB, free: 9.637 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004182/0.4903, allocations: 107.8 kB / 1.506 GB, free: 9.531 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.001673/0.492, allocations: 1.184 MB / 1.507 GB, free: 8.305 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007012/0.4927, allocations: 247.6 kB / 1.507 GB, free: 8.062 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4927, allocations: 0 / 1.507 GB, free: 8.062 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.4931, allocations: 132.5 kB / 1.507 GB, free: 7.934 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.4938, allocations: 142.3 kB / 1.507 GB, free: 7.801 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.4981, allocations: 2.975 MB / 1.51 GB, free: 4.684 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.4985, allocations: 0.7831 MB / 1.511 GB, free: 3.875 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002166/0.4987, allocations: 70.22 kB / 1.511 GB, free: 3.801 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.4989, allocations: 87.41 kB / 1.511 GB, free: 3.715 MB / 1.201 GB Notification: Performance of SimCode: time 5.41e-07/0.4989, allocations: 0 / 1.511 GB, free: 3.715 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.5317, allocations: 9.259 MB / 1.52 GB, free: 10.69 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.18, allocations: 6.938 kB / 1.52 GB, free: 10.68 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.256446775980294]