Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001313/0.001313, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.00145/0.00145, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.898/2.898, allocations: 476.7 MB / 0.7714 GB, free: 4.336 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.RelativeHumidity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_11_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.002112/0.002112, allocations: 68.52 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3438, allocations: 170 MB / 1.284 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2076/0.5514, allocations: 168.9 MB / 1.449 GB, free: 2.133 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.5545, allocations: 1.558 MB / 1.451 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.5548, allocations: 15.88 kB / 1.451 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.5554, allocations: 146.9 kB / 1.451 GB, free: 420 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.5569, allocations: 493.8 kB / 1.451 GB, free: 15.93 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.5593, allocations: 0.7966 MB / 1.452 GB, free: 15.13 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.5604, allocations: 0.7175 MB / 1.453 GB, free: 14.41 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004032/0.5608, allocations: 218.5 kB / 1.453 GB, free: 14.2 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005764/0.5614, allocations: 318.9 kB / 1.453 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.5617, allocations: 243 kB / 1.453 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.5617, allocations: 24 kB / 1.453 GB, free: 13.62 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.5635, allocations: 0.9392 MB / 1.454 GB, free: 12.68 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.5636, allocations: 119.6 kB / 1.454 GB, free: 12.56 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.5638, allocations: 159.2 kB / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.565, allocations: 0.7404 MB / 1.455 GB, free: 11.66 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5651, allocations: 0 / 1.455 GB, free: 11.66 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5651, allocations: 7.938 kB / 1.455 GB, free: 11.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.5651, allocations: 0 / 1.455 GB, free: 11.66 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001199/0.5663, allocations: 0.6095 MB / 1.456 GB, free: 11.02 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.5663, allocations: 12.02 kB / 1.456 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.094e-05/0.5663, allocations: 8.5 kB / 1.456 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.784e-05/0.5664, allocations: 62.48 kB / 1.456 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004933/0.5669, allocations: 83.75 kB / 1.456 GB, free: 10.84 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.5674, allocations: 252.1 kB / 1.456 GB, free: 10.57 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.5674, allocations: 20.5 kB / 1.456 GB, free: 10.55 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.5675, allocations: 24 kB / 1.456 GB, free: 10.53 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/0.5682, allocations: 323.4 kB / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5682, allocations: 0 / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.5682, allocations: 15.94 kB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.5682, allocations: 8 kB / 1.457 GB, free: 10.17 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007633/0.569, allocations: 285.5 kB / 1.457 GB, free: 9.895 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.001853/0.5708, allocations: 1.036 MB / 1.458 GB, free: 8.801 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009246/0.5718, allocations: 238.5 kB / 1.458 GB, free: 8.559 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.5721, allocations: 128.8 kB / 1.458 GB, free: 8.43 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005489/0.5727, allocations: 87.91 kB / 1.458 GB, free: 8.344 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.5727, allocations: 38.55 kB / 1.458 GB, free: 8.297 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.5727, allocations: 0 / 1.458 GB, free: 8.297 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001306/0.574, allocations: 418.9 kB / 1.459 GB, free: 7.883 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.5741, allocations: 55.34 kB / 1.459 GB, free: 7.816 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.5743, allocations: 268.2 kB / 1.459 GB, free: 7.547 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.5744, allocations: 29.7 kB / 1.459 GB, free: 7.512 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.5745, allocations: 172.4 kB / 1.459 GB, free: 7.34 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.5746, allocations: 71.38 kB / 1.459 GB, free: 7.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.5747, allocations: 45.7 kB / 1.46 GB, free: 7.219 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.5749, allocations: 338.8 kB / 1.46 GB, free: 6.879 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.5752, allocations: 103.9 kB / 1.46 GB, free: 6.777 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.5756, allocations: 161.9 kB / 1.46 GB, free: 6.598 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.5762, allocations: 268.9 kB / 1.46 GB, free: 6.316 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5762, allocations: 0 / 1.46 GB, free: 6.316 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008031/0.577, allocations: 319.2 kB / 1.461 GB, free: 6 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5771, allocations: 8 kB / 1.461 GB, free: 5.992 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5771, allocations: 8 kB / 1.461 GB, free: 5.984 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5771, allocations: 4 kB / 1.461 GB, free: 5.98 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.5774, allocations: 55.95 kB / 1.461 GB, free: 5.926 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.5774, allocations: 7.938 kB / 1.461 GB, free: 5.918 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.5776, allocations: 39.92 kB / 1.461 GB, free: 5.879 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.5777, allocations: 12 kB / 1.461 GB, free: 5.867 MB / 1.154 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.0001605/0.5778, allocations: 145.8 kB / 1.461 GB, free: 5.715 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.5779, allocations: 35.81 kB / 1.461 GB, free: 5.68 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008359/0.5787, allocations: 319.3 kB / 1.461 GB, free: 5.359 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.5787, allocations: 4 kB / 1.461 GB, free: 5.355 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5787, allocations: 0 / 1.461 GB, free: 5.355 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5787, allocations: 3.984 kB / 1.461 GB, free: 5.352 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.5804, allocations: 0.8202 MB / 1.462 GB, free: 4.453 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5804, allocations: 0 / 1.462 GB, free: 4.453 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.5806, allocations: 55.89 kB / 1.462 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5806, allocations: 8.188 kB / 1.462 GB, free: 4.391 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.5807, allocations: 4 kB / 1.462 GB, free: 4.387 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5807, allocations: 0 / 1.462 GB, free: 4.387 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5807, allocations: 4 kB / 1.462 GB, free: 4.383 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.5819, allocations: 0.5648 MB / 1.463 GB, free: 3.785 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.582, allocations: 51.8 kB / 1.463 GB, free: 3.734 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.582, allocations: 7.984 kB / 1.463 GB, free: 3.727 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.5822, allocations: 19.98 kB / 1.463 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.5823, allocations: 23.91 kB / 1.463 GB, free: 3.684 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.5823, allocations: 11.98 kB / 1.463 GB, free: 3.672 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001893/0.5825, allocations: 191.1 kB / 1.463 GB, free: 3.488 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5825, allocations: 4.062 kB / 1.463 GB, free: 3.484 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004625/0.583, allocations: 111.8 kB / 1.463 GB, free: 3.375 MB / 1.154 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.001832/0.5848, allocations: 1.192 MB / 1.464 GB, free: 2.141 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0007731/0.5856, allocations: 243.7 kB / 1.464 GB, free: 1.902 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5856, allocations: 4.312 kB / 1.464 GB, free: 1.898 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.586, allocations: 127.8 kB / 1.465 GB, free: 1.773 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.5868, allocations: 131.5 kB / 1.465 GB, free: 1.645 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/0.5916, allocations: 2.992 MB / 1.468 GB, free: 14.5 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.5921, allocations: 0.7792 MB / 1.468 GB, free: 13.7 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002394/0.5923, allocations: 62.23 kB / 1.468 GB, free: 13.63 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.5925, allocations: 91.41 kB / 1.469 GB, free: 13.55 MB / 1.17 GB Notification: Performance of SimCode: time 7.21e-07/0.5925, allocations: 3.938 kB / 1.469 GB, free: 13.54 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.6276, allocations: 9.244 MB / 1.478 GB, free: 4.535 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.44, allocations: 9.156 kB / 1.478 GB, free: 4.531 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.45625387999462]