Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_10_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.001472/0.001472, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001684/0.001684, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437 MB / 0.71 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6538, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2041/0.858, allocations: 163 MB / 1.176 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002642/0.8607, allocations: 1.568 MB / 1.177 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.861, allocations: 11.94 kB / 1.177 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.8614, allocations: 111.2 kB / 1.178 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.8624, allocations: 446.2 kB / 1.178 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.864, allocations: 0.6891 MB / 1.179 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008468/0.8649, allocations: 0.9945 MB / 1.18 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.8652, allocations: 222 kB / 1.18 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.8656, allocations: 282.9 kB / 1.18 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.8659, allocations: 235 kB / 1.18 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.866, allocations: 16 kB / 1.18 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.8674, allocations: 0.9781 MB / 1.181 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.8675, allocations: 107.7 kB / 1.181 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.8677, allocations: 155.2 kB / 1.182 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009605/0.8686, allocations: 0.7752 MB / 1.182 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.8687, allocations: 0 / 1.182 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.02e-07/0.8687, allocations: 0 / 1.182 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8687, allocations: 0 / 1.182 GB, free: 8.562 MB / 0.9356 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.001078/0.8698, allocations: 0.6718 MB / 1.183 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.8698, allocations: 16.03 kB / 1.183 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.497e-05/0.8699, allocations: 62.55 kB / 1.183 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004946/0.8704, allocations: 83.48 kB / 1.183 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.8708, allocations: 301.9 kB / 1.183 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.8708, allocations: 16.56 kB / 1.183 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.8709, allocations: 27.98 kB / 1.183 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.8715, allocations: 336.1 kB / 1.184 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8715, allocations: 0 / 1.184 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.8716, allocations: 15.94 kB / 1.184 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.8716, allocations: 4 kB / 1.184 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/0.8723, allocations: 289.5 kB / 1.184 GB, free: 6.656 MB / 0.9356 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.001572/0.8739, allocations: 1.071 MB / 1.185 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009299/0.8748, allocations: 319.7 kB / 1.185 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.8751, allocations: 132.8 kB / 1.186 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006901/0.8758, allocations: 400.3 kB / 1.186 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.8759, allocations: 34.5 kB / 1.186 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/0.8759, allocations: 4 kB / 1.186 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001216/0.8771, allocations: 407.1 kB / 1.186 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.8772, allocations: 55.41 kB / 1.186 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.8774, allocations: 270.9 kB / 1.187 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.8774, allocations: 29.7 kB / 1.187 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.8776, allocations: 168.2 kB / 1.187 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.8776, allocations: 63.09 kB / 1.187 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.8777, allocations: 49.62 kB / 1.187 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8778, allocations: 338.8 kB / 1.187 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.8782, allocations: 103.9 kB / 1.187 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.8785, allocations: 167.7 kB / 1.188 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/0.8792, allocations: 268.9 kB / 1.188 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8792, allocations: 0 / 1.188 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007861/0.88, allocations: 310.5 kB / 1.188 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.88, allocations: 5.562 kB / 1.188 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.88, allocations: 3.984 kB / 1.188 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.8801, allocations: 7.938 kB / 1.188 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.8804, allocations: 55.91 kB / 1.188 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.8804, allocations: 4 kB / 1.188 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.8807, allocations: 55.77 kB / 1.188 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.8807, allocations: 8 kB / 1.188 GB, free: 2.121 MB / 0.9356 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.0001558/0.8809, allocations: 153.8 kB / 1.188 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.8809, allocations: 27.72 kB / 1.188 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/0.8817, allocations: 316.9 kB / 1.189 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8817, allocations: 0 / 1.189 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8818, allocations: 7.938 kB / 1.189 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8818, allocations: 64 / 1.189 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.8833, allocations: 0.9368 MB / 1.19 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.8833, allocations: 0 / 1.19 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.8836, allocations: 55.89 kB / 1.19 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.8836, allocations: 0 / 1.19 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.8836, allocations: 4 kB / 1.19 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/0.8836, allocations: 4 kB / 1.19 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8837, allocations: 0 / 1.19 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.8848, allocations: 0.5685 MB / 1.19 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.8849, allocations: 128.8 kB / 1.19 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.8849, allocations: 7.938 kB / 1.19 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.8852, allocations: 28.03 kB / 1.19 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.8853, allocations: 27.86 kB / 1.19 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.8853, allocations: 11.98 kB / 1.19 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001821/0.8855, allocations: 194 kB / 1.191 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8855, allocations: 0 / 1.191 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000443/0.886, allocations: 103.8 kB / 1.191 GB, free: 15.39 MB / 0.9512 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.00172/0.8877, allocations: 1.189 MB / 1.192 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007019/0.8884, allocations: 249.9 kB / 1.192 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8884, allocations: 0 / 1.192 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.8888, allocations: 144.3 kB / 1.192 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.8896, allocations: 135.3 kB / 1.192 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/0.8939, allocations: 3.057 MB / 1.195 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.8943, allocations: 0.7792 MB / 1.196 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000299/0.8946, allocations: 58.25 kB / 1.196 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.8948, allocations: 91.41 kB / 1.196 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of SimCode: time 1.001e-06/0.8948, allocations: 0 / 1.196 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.9153, allocations: 8.387 MB / 1.204 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.9156, allocations: 239.4 kB / 1.205 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.961, allocations: 1.688 kB / 1.205 GB, free: 1.047 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches