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.001484/0.001484, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001581/0.001581, allocations: 220.5 kB / 22.26 MB, free: 5.125 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.313/1.313, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 179] 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.849/2.849, allocations: 0.49 GB / 0.7951 GB, free: 33.47 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_12_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.001881/0.001881, allocations: 70.69 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2815, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.178/0.4595, allocations: 168.9 MB / 1.491 GB, free: 8.41 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002858/0.4623, allocations: 1.561 MB / 1.492 GB, free: 6.848 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.4626, allocations: 15.88 kB / 1.492 GB, free: 6.832 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.4631, allocations: 138.9 kB / 1.493 GB, free: 6.695 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.4642, allocations: 497.8 kB / 1.493 GB, free: 6.207 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.466, allocations: 0.7963 MB / 1.494 GB, free: 5.41 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009352/0.467, allocations: 0.7214 MB / 1.494 GB, free: 4.684 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.4674, allocations: 219.6 kB / 1.495 GB, free: 4.465 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.4684, allocations: 478.4 kB / 1.495 GB, free: 3.996 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.4688, allocations: 235.1 kB / 1.495 GB, free: 3.766 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.4688, allocations: 24 kB / 1.495 GB, free: 3.742 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.4705, allocations: 0.9275 MB / 1.496 GB, free: 2.812 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.4707, allocations: 111.6 kB / 1.496 GB, free: 2.703 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.4709, allocations: 163.2 kB / 1.497 GB, free: 2.543 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.4722, allocations: 0.7399 MB / 1.497 GB, free: 1.801 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4722, allocations: 4 kB / 1.497 GB, free: 1.797 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4722, allocations: 3.938 kB / 1.497 GB, free: 1.793 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.4723, allocations: 0 / 1.497 GB, free: 1.793 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.001278/0.4735, allocations: 0.6134 MB / 1.498 GB, free: 1.148 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4736, allocations: 12.03 kB / 1.498 GB, free: 1.137 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.891e-05/0.4736, allocations: 58.55 kB / 1.498 GB, free: 1.07 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/0.4741, allocations: 87.69 kB / 1.498 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.4746, allocations: 256.1 kB / 1.498 GB, free: 0.707 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.4746, allocations: 16.5 kB / 1.498 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.4747, allocations: 24 kB / 1.498 GB, free: 0.668 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.4753, allocations: 327.4 kB / 1.499 GB, free: 344 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4753, allocations: 0 / 1.499 GB, free: 344 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.4753, allocations: 15.94 kB / 1.499 GB, free: 328 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.4754, allocations: 4 kB / 1.499 GB, free: 324 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.476, allocations: 289.5 kB / 1.499 GB, free: 36 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.001711/0.4778, allocations: 1.029 MB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.4786, allocations: 238.5 kB / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.4789, allocations: 128.8 kB / 1.5 GB, free: 14.57 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005451/0.4795, allocations: 91.88 kB / 1.5 GB, free: 14.48 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4795, allocations: 30.56 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.4795, allocations: 0 / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001177/0.4807, allocations: 414.6 kB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.4807, allocations: 55.41 kB / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.481, allocations: 268.2 kB / 1.501 GB, free: 13.7 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.481, allocations: 33.7 kB / 1.501 GB, free: 13.66 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.4812, allocations: 168.4 kB / 1.501 GB, free: 13.49 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.4812, allocations: 71.33 kB / 1.501 GB, free: 13.42 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.4813, allocations: 45.7 kB / 1.501 GB, free: 13.37 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4814, allocations: 334.8 kB / 1.502 GB, free: 13.04 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.4817, allocations: 107.9 kB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.4821, allocations: 159.3 kB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/0.4827, allocations: 278.3 kB / 1.502 GB, free: 12.46 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4827, allocations: 4 kB / 1.502 GB, free: 12.46 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007218/0.4834, allocations: 326.9 kB / 1.503 GB, free: 12.14 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4834, allocations: 4 kB / 1.503 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4834, allocations: 160 / 1.503 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4834, allocations: 11.94 kB / 1.503 GB, free: 12.12 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.4837, allocations: 55.95 kB / 1.503 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.4837, allocations: 7.938 kB / 1.503 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.484, allocations: 39.8 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.484, allocations: 8 kB / 1.503 GB, free: 12.01 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.0001581/0.4842, allocations: 157.8 kB / 1.503 GB, free: 11.85 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.4842, allocations: 31.81 kB / 1.503 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007704/0.485, allocations: 317 kB / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.485, allocations: 4 kB / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.485, allocations: 0 / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.485, allocations: 0 / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.4865, allocations: 0.8228 MB / 1.504 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4865, allocations: 4 kB / 1.504 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.4867, allocations: 47.95 kB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.4867, allocations: 7.938 kB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4868, allocations: 4 kB / 1.504 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.4868, allocations: 4 kB / 1.504 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4868, allocations: 192 / 1.504 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4878, allocations: 0.5742 MB / 1.505 GB, free: 9.918 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.4879, allocations: 47.77 kB / 1.505 GB, free: 9.871 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.488, allocations: 0 / 1.505 GB, free: 9.871 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.4882, allocations: 28.03 kB / 1.505 GB, free: 9.844 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.4883, allocations: 23.91 kB / 1.505 GB, free: 9.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.4883, allocations: 11.94 kB / 1.505 GB, free: 9.809 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001823/0.4885, allocations: 191.1 kB / 1.505 GB, free: 9.621 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.4885, allocations: 4 kB / 1.505 GB, free: 9.617 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000427/0.4889, allocations: 107.8 kB / 1.505 GB, free: 9.512 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.001574/0.4905, allocations: 1.196 MB / 1.506 GB, free: 8.273 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006696/0.4911, allocations: 245.6 kB / 1.506 GB, free: 8.035 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4912, allocations: 0 / 1.506 GB, free: 8.035 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.4915, allocations: 136.5 kB / 1.507 GB, free: 7.902 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.4922, allocations: 136.1 kB / 1.507 GB, free: 7.773 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.4963, allocations: 2.982 MB / 1.51 GB, free: 4.648 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.4967, allocations: 0.7753 MB / 1.51 GB, free: 3.848 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.4969, allocations: 66.23 kB / 1.51 GB, free: 3.777 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.497, allocations: 91.41 kB / 1.51 GB, free: 3.688 MB / 1.201 GB Notification: Performance of SimCode: time 4.41e-07/0.497, allocations: 0 / 1.51 GB, free: 3.688 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.5347, allocations: 9.218 MB / 1.519 GB, free: 10.69 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.96, allocations: 6.344 kB / 1.519 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: 16.829216505168006]