Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_9_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.0007831/0.0007833, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.004999/0.005, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003336, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6037/0.6041, allocations: 142.4 MB / 0.9552 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1654/0.7695, allocations: 160.9 MB / 1.112 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.7726, allocations: 1.555 MB / 1.114 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/0.773, allocations: 7.938 kB / 1.114 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.7735, allocations: 119.2 kB / 1.114 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.7752, allocations: 438.2 kB / 1.114 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.7777, allocations: 0.686 MB / 1.115 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.7789, allocations: 0.9944 MB / 1.116 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.7793, allocations: 218.1 kB / 1.116 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006123/0.78, allocations: 282.9 kB / 1.116 GB, free: 9.602 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.7803, allocations: 231 kB / 1.117 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.7804, allocations: 12 kB / 1.117 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.7821, allocations: 0.9781 MB / 1.118 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.7822, allocations: 103.7 kB / 1.118 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.7824, allocations: 165 kB / 1.118 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.7838, allocations: 0.7751 MB / 1.119 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7838, allocations: 4 kB / 1.119 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7838, allocations: 0 / 1.119 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.7838, allocations: 0 / 1.119 GB, free: 7.332 MB / 0.8731 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.00113/0.7849, allocations: 0.6274 MB / 1.119 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.785, allocations: 15.97 kB / 1.119 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.537e-05/0.7851, allocations: 62.48 kB / 1.119 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004975/0.7856, allocations: 83.48 kB / 1.119 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.786, allocations: 298 kB / 1.12 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7861, allocations: 24.56 kB / 1.12 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.7861, allocations: 20 kB / 1.12 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.7868, allocations: 356.1 kB / 1.12 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7869, allocations: 0 / 1.12 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.7869, allocations: 15.94 kB / 1.12 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.7869, allocations: 4 kB / 1.12 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007904/0.7877, allocations: 313.5 kB / 1.12 GB, free: 5.422 MB / 0.8731 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.001717/0.7894, allocations: 1.083 MB / 1.121 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/0.7904, allocations: 335.7 kB / 1.122 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.7908, allocations: 160.7 kB / 1.122 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/0.7915, allocations: 408.3 kB / 1.122 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.7915, allocations: 34.56 kB / 1.122 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.7915, allocations: 0 / 1.122 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.00131/0.7928, allocations: 450.4 kB / 1.123 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.7929, allocations: 59.41 kB / 1.123 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.7931, allocations: 267 kB / 1.123 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.7932, allocations: 29.7 kB / 1.123 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.7933, allocations: 176.1 kB / 1.123 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.7934, allocations: 59.11 kB / 1.123 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.7934, allocations: 21.7 kB / 1.123 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7936, allocations: 338.8 kB / 1.124 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.7939, allocations: 123.8 kB / 1.124 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.7943, allocations: 186.3 kB / 1.124 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/0.795, allocations: 302.6 kB / 1.124 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.795, allocations: 4 kB / 1.124 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008204/0.7959, allocations: 350.5 kB / 1.125 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.7959, allocations: 5.25 kB / 1.125 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7959, allocations: 4 kB / 1.125 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.7959, allocations: 8.062 kB / 1.125 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.7962, allocations: 71.89 kB / 1.125 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.7962, allocations: 0 / 1.125 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.7965, allocations: 51.81 kB / 1.125 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.7966, allocations: 11.98 kB / 1.125 GB, free: 0.6797 MB / 0.8731 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.0001529/0.7967, allocations: 153.7 kB / 1.125 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.7968, allocations: 27.62 kB / 1.125 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008356/0.7976, allocations: 353.6 kB / 1.125 GB, free: 148 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.7976, allocations: 4 kB / 1.125 GB, free: 144 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7976, allocations: 0 / 1.125 GB, free: 144 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7977, allocations: 0 / 1.125 GB, free: 144 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.7993, allocations: 0.9642 MB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7993, allocations: 8.188 kB / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.7996, allocations: 59.89 kB / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.7996, allocations: 4 kB / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.7996, allocations: 4 kB / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.7996, allocations: 0 / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.7996, allocations: 4.062 kB / 1.126 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.8008, allocations: 0.6093 MB / 1.127 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.801, allocations: 132.7 kB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.801, allocations: 4 kB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.8013, allocations: 31.97 kB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.8014, allocations: 31.84 kB / 1.127 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.8014, allocations: 8 kB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001832/0.8016, allocations: 197.9 kB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.463e-06/0.8016, allocations: 0 / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004389/0.802, allocations: 107.8 kB / 1.127 GB, free: 13.82 MB / 0.8887 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.001876/0.8039, allocations: 1.248 MB / 1.129 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007695/0.8047, allocations: 279.7 kB / 1.129 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8047, allocations: 0 / 1.129 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.8051, allocations: 156.2 kB / 1.129 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008268/0.8059, allocations: 125 kB / 1.129 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.8106, allocations: 3.167 MB / 1.132 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.811, allocations: 0.7908 MB / 1.133 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002585/0.8113, allocations: 58.25 kB / 1.133 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.8114, allocations: 95.39 kB / 1.133 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of SimCode: time 2.6e-07/0.8114, allocations: 0 / 1.133 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.796/2.608, allocations: 8.274 MB / 1.141 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/2.608, allocations: 233.5 kB / 1.141 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/4.797, allocations: 3.938 kB / 1.141 GB, free: 15.39 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches