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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004734/0.004734, allocations: 98.86 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 202.1 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.536/2.536, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 67.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2546, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6646/0.9192, allocations: 165.3 MB / 1.382 GB, free: 4.258 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.9217, allocations: 1.564 MB / 1.383 GB, free: 3.172 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.9219, allocations: 14.84 kB / 1.383 GB, free: 3.164 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.9223, allocations: 136.8 kB / 1.383 GB, free: 3.062 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.9234, allocations: 468.3 kB / 1.384 GB, free: 2.711 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.925, allocations: 0.7542 MB / 1.384 GB, free: 2.156 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006745/0.9256, allocations: 0.7006 MB / 1.385 GB, free: 1.754 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.926, allocations: 257.3 kB / 1.385 GB, free: 1.605 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004307/0.9264, allocations: 320.2 kB / 1.386 GB, free: 1.422 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.9267, allocations: 228 kB / 1.386 GB, free: 1.285 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.9267, allocations: 23.97 kB / 1.386 GB, free: 1.285 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.928, allocations: 0.8669 MB / 1.387 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.9282, allocations: 111.4 kB / 1.387 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.9283, allocations: 155.9 kB / 1.387 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009471/0.9293, allocations: 0.7388 MB / 1.388 GB, free: 200 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.9293, allocations: 3.938 kB / 1.388 GB, free: 196 kB / 1.076 GB Notification: Performance of FrontEnd: time 9.72e-07/0.9293, allocations: 0 / 1.388 GB, free: 196 kB / 1.076 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.9293, allocations: 9.312 kB / 1.388 GB, free: 188 kB / 1.076 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.001007/0.9303, allocations: 0.6811 MB / 1.388 GB, free: 15.58 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.9303, allocations: 9.656 kB / 1.388 GB, free: 15.58 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.242e-05/0.9304, allocations: 62.44 kB / 1.388 GB, free: 15.52 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.9308, allocations: 92.36 kB / 1.389 GB, free: 15.48 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.9313, allocations: 312.8 kB / 1.389 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.9313, allocations: 18.03 kB / 1.389 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.9313, allocations: 27.94 kB / 1.389 GB, free: 15.16 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.932, allocations: 332.5 kB / 1.389 GB, free: 14.96 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.932, allocations: 0 / 1.389 GB, free: 14.96 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.932, allocations: 13.69 kB / 1.389 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.932, allocations: 5.719 kB / 1.389 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.9327, allocations: 287.2 kB / 1.39 GB, free: 14.82 MB / 1.092 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.001456/0.9342, allocations: 1.07 MB / 1.391 GB, free: 13.94 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.935, allocations: 324.2 kB / 1.391 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.9353, allocations: 134.2 kB / 1.391 GB, free: 13.66 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/0.9359, allocations: 393.1 kB / 1.391 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.936, allocations: 36.12 kB / 1.391 GB, free: 13.21 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.936, allocations: 0 / 1.391 GB, free: 13.21 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001121/0.9371, allocations: 411.3 kB / 1.392 GB, free: 13 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.9372, allocations: 57.53 kB / 1.392 GB, free: 12.93 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.9374, allocations: 269.4 kB / 1.392 GB, free: 12.75 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.9374, allocations: 26.86 kB / 1.392 GB, free: 12.72 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.9376, allocations: 171 kB / 1.392 GB, free: 12.56 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.9376, allocations: 72.41 kB / 1.392 GB, free: 12.5 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.9377, allocations: 46.61 kB / 1.392 GB, free: 12.46 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9378, allocations: 333.8 kB / 1.393 GB, free: 12.14 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.9381, allocations: 107 kB / 1.393 GB, free: 12.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.9385, allocations: 161 kB / 1.393 GB, free: 11.98 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.9391, allocations: 271.1 kB / 1.393 GB, free: 11.81 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9391, allocations: 8.969 kB / 1.393 GB, free: 11.8 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006954/0.9398, allocations: 318.2 kB / 1.394 GB, free: 11.64 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.9398, allocations: 7.75 kB / 1.394 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9398, allocations: 5.281 kB / 1.394 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9399, allocations: 7.219 kB / 1.394 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.9401, allocations: 57.39 kB / 1.394 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.9401, allocations: 2.031 kB / 1.394 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.9403, allocations: 44.72 kB / 1.394 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.9404, allocations: 10.5 kB / 1.394 GB, free: 11.59 MB / 1.092 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.0001347/0.9405, allocations: 153.4 kB / 1.394 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.9406, allocations: 24.8 kB / 1.394 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.9413, allocations: 322.5 kB / 1.394 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.9413, allocations: 6.125 kB / 1.394 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.9414, allocations: 0 / 1.394 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.9414, allocations: 4.984 kB / 1.394 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.9428, allocations: 0.9277 MB / 1.395 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.9428, allocations: 2.406 kB / 1.395 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.943, allocations: 47.52 kB / 1.395 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.943, allocations: 2.094 kB / 1.395 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.9431, allocations: 8.062 kB / 1.395 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.9431, allocations: 7.219 kB / 1.395 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9431, allocations: 5.594 kB / 1.395 GB, free: 10.42 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.9441, allocations: 0.5589 MB / 1.396 GB, free: 10.04 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.9443, allocations: 132.1 kB / 1.396 GB, free: 9.906 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.9443, allocations: 11.47 kB / 1.396 GB, free: 9.898 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.9445, allocations: 23.56 kB / 1.396 GB, free: 9.887 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.9446, allocations: 19.7 kB / 1.396 GB, free: 9.875 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.9446, allocations: 12.41 kB / 1.396 GB, free: 9.871 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001654/0.9448, allocations: 192.9 kB / 1.396 GB, free: 9.742 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9448, allocations: 0 / 1.396 GB, free: 9.742 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003949/0.9452, allocations: 107.9 kB / 1.396 GB, free: 9.715 MB / 1.092 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.001636/0.9468, allocations: 1.209 MB / 1.397 GB, free: 8.746 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006926/0.9475, allocations: 258.4 kB / 1.398 GB, free: 8.633 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9476, allocations: 320 / 1.398 GB, free: 8.633 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.9479, allocations: 141.1 kB / 1.398 GB, free: 8.57 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.9486, allocations: 131.5 kB / 1.398 GB, free: 8.504 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.9525, allocations: 2.97 MB / 1.401 GB, free: 6.273 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.9528, allocations: 0.7799 MB / 1.402 GB, free: 5.531 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.953, allocations: 69.94 kB / 1.402 GB, free: 5.496 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.9532, allocations: 88.97 kB / 1.402 GB, free: 5.43 MB / 1.092 GB Notification: Performance of SimCode: time 2.7e-07/0.9532, allocations: 0 / 1.402 GB, free: 5.43 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8623/1.815, allocations: 8.949 MB / 1.41 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/15.02, allocations: 6.938 kB / 1.41 GB, free: 0.9766 MB / 1.092 GB (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 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) 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) Reference file matches