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.001102/0.001102, allocations: 91.84 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.008583/0.008583, allocations: 169.9 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.541/2.541, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 16 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6495/0.6499, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.183/0.8329, allocations: 160.9 MB / 1.18 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002796/0.8357, allocations: 1.546 MB / 1.182 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.836, allocations: 15.88 kB / 1.182 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.8364, allocations: 103.3 kB / 1.182 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.8375, allocations: 446.2 kB / 1.182 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.8394, allocations: 0.6966 MB / 1.183 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.8404, allocations: 0.9867 MB / 1.184 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.8408, allocations: 218 kB / 1.184 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.8413, allocations: 278.8 kB / 1.184 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.8416, allocations: 223.1 kB / 1.185 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.8416, allocations: 16 kB / 1.185 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.8432, allocations: 0.9858 MB / 1.186 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.8433, allocations: 103.7 kB / 1.186 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.8435, allocations: 161 kB / 1.186 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009632/0.8444, allocations: 0.7712 MB / 1.187 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8445, allocations: 0 / 1.187 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8445, allocations: 0 / 1.187 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8445, allocations: 0 / 1.187 GB, free: 7.789 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.001026/0.8455, allocations: 0.6429 MB / 1.187 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.8456, allocations: 8.031 kB / 1.187 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.301e-05/0.8456, allocations: 62.48 kB / 1.187 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/0.8461, allocations: 91.55 kB / 1.187 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.8465, allocations: 294 kB / 1.188 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.8465, allocations: 16.56 kB / 1.188 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.8466, allocations: 27.94 kB / 1.188 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.8473, allocations: 348.2 kB / 1.188 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.8473, allocations: 3.938 kB / 1.188 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.8474, allocations: 11.94 kB / 1.188 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.8474, allocations: 8 kB / 1.188 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.8481, allocations: 317.5 kB / 1.188 GB, free: 5.875 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.001635/0.8498, allocations: 1.079 MB / 1.189 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009127/0.8507, allocations: 343.6 kB / 1.19 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.8511, allocations: 156.7 kB / 1.19 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/0.8518, allocations: 408.3 kB / 1.19 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.8518, allocations: 30.56 kB / 1.19 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.8518, allocations: 4 kB / 1.19 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001285/0.8531, allocations: 458.7 kB / 1.191 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.8532, allocations: 55.34 kB / 1.191 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.8535, allocations: 274.9 kB / 1.191 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.8535, allocations: 25.7 kB / 1.191 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.8536, allocations: 168.2 kB / 1.191 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.8537, allocations: 67.09 kB / 1.191 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.8537, allocations: 25.72 kB / 1.191 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8539, allocations: 330.8 kB / 1.192 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.8542, allocations: 123.9 kB / 1.192 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.8546, allocations: 181.9 kB / 1.192 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/0.8553, allocations: 306.2 kB / 1.192 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8553, allocations: 0 / 1.192 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007803/0.8561, allocations: 350.8 kB / 1.193 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.8561, allocations: 8 kB / 1.193 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8561, allocations: 3.938 kB / 1.193 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8561, allocations: 4 kB / 1.193 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.8564, allocations: 63.89 kB / 1.193 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.8564, allocations: 4.125 kB / 1.193 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.8567, allocations: 51.8 kB / 1.193 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.8568, allocations: 8 kB / 1.193 GB, free: 1.145 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.0001635/0.8569, allocations: 165.7 kB / 1.193 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.857, allocations: 27.62 kB / 1.193 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008799/0.8579, allocations: 347.6 kB / 1.193 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8579, allocations: 8 kB / 1.193 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8579, allocations: 0 / 1.193 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.8579, allocations: 4 kB / 1.193 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.8595, allocations: 0.9603 MB / 1.194 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.8595, allocations: 4 kB / 1.194 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.8598, allocations: 55.95 kB / 1.194 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.8598, allocations: 192 / 1.194 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.8599, allocations: 15.94 kB / 1.194 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/0.8599, allocations: 7.938 kB / 1.194 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.8599, allocations: 3.938 kB / 1.194 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.861, allocations: 0.6071 MB / 1.195 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.8612, allocations: 124.6 kB / 1.195 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.8612, allocations: 11.98 kB / 1.195 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.8615, allocations: 36.03 kB / 1.195 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.8615, allocations: 19.92 kB / 1.195 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.8616, allocations: 8 kB / 1.195 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001791/0.8618, allocations: 193.9 kB / 1.195 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8618, allocations: 0 / 1.195 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004436/0.8622, allocations: 107.8 kB / 1.195 GB, free: 14.29 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.001878/0.8641, allocations: 1.234 MB / 1.197 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.8649, allocations: 287.9 kB / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8649, allocations: 0 / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.8653, allocations: 160.2 kB / 1.197 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000827/0.8661, allocations: 124 kB / 1.197 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.8704, allocations: 3.18 MB / 1.2 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.8707, allocations: 0.7792 MB / 1.201 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002732/0.871, allocations: 70.22 kB / 1.201 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.8712, allocations: 91.41 kB / 1.201 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of SimCode: time 7.02e-07/0.8712, allocations: 0 / 1.201 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.8914, allocations: 8.251 MB / 1.209 GB, free: 124 kB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.8917, allocations: 245.3 kB / 1.209 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.907, allocations: 0 / 1.209 GB, free: 15.86 MB / 0.9669 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