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: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 89.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 187.4 kB / 16.92 MB, free: 6.68 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.478/1.478, allocations: 223.3 MB / 241 MB, free: 5.137 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.429/2.429, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004392, allocations: 19.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6956/0.6961, allocations: 142.4 MB / 0.9557 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1788/0.8749, allocations: 160.9 MB / 1.113 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.878, allocations: 1.557 MB / 1.114 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.8784, allocations: 11.94 kB / 1.114 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.879, allocations: 111.2 kB / 1.114 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.8805, allocations: 446.2 kB / 1.115 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.8826, allocations: 0.6816 MB / 1.116 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.8837, allocations: 0.9983 MB / 1.117 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004718/0.8842, allocations: 218.1 kB / 1.117 GB, free: 10 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.8849, allocations: 274.8 kB / 1.117 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.8854, allocations: 235 kB / 1.117 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.8855, allocations: 12 kB / 1.117 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.8873, allocations: 0.982 MB / 1.118 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.8875, allocations: 95.7 kB / 1.118 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.8877, allocations: 176.9 kB / 1.118 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009311/0.8887, allocations: 0.5106 MB / 1.119 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8887, allocations: 0 / 1.119 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8887, allocations: 0 / 1.119 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.8887, allocations: 0 / 1.119 GB, free: 7.719 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.001346/0.8901, allocations: 0.6313 MB / 1.12 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.8901, allocations: 8.031 kB / 1.12 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/0.8907, allocations: 87.5 kB / 1.12 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.8912, allocations: 297.9 kB / 1.12 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.8912, allocations: 24.56 kB / 1.12 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.8913, allocations: 24 kB / 1.12 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/0.8921, allocations: 348.2 kB / 1.12 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.8921, allocations: 4 kB / 1.12 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.8921, allocations: 8 kB / 1.12 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.8921, allocations: 15.94 kB / 1.12 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000799/0.8929, allocations: 309.5 kB / 1.121 GB, free: 5.879 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.00184/0.8948, allocations: 1.09 MB / 1.122 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/0.8957, allocations: 343.6 kB / 1.122 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.8961, allocations: 152.8 kB / 1.122 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007189/0.8969, allocations: 400.3 kB / 1.123 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.8969, allocations: 38.56 kB / 1.123 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.984e-06/0.8969, allocations: 0 / 1.123 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001381/0.8983, allocations: 462.2 kB / 1.123 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.8983, allocations: 51.41 kB / 1.123 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.8986, allocations: 267 kB / 1.123 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.8987, allocations: 29.7 kB / 1.123 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.8988, allocations: 172.1 kB / 1.124 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.704e-05/0.8989, allocations: 71.08 kB / 1.124 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.8989, allocations: 17.72 kB / 1.124 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.8991, allocations: 338.8 kB / 1.124 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.8994, allocations: 119.9 kB / 1.124 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.8998, allocations: 183.8 kB / 1.124 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007037/0.9006, allocations: 307.3 kB / 1.125 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9006, allocations: 0 / 1.125 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008637/0.9014, allocations: 355.1 kB / 1.125 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.9015, allocations: 4 kB / 1.125 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9015, allocations: 4 kB / 1.125 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.9015, allocations: 11.92 kB / 1.125 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.9018, allocations: 68.03 kB / 1.125 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.9018, allocations: 3.938 kB / 1.125 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.9021, allocations: 55.78 kB / 1.125 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.9022, allocations: 8 kB / 1.125 GB, free: 1.125 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.0001704/0.9024, allocations: 149.8 kB / 1.125 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.9025, allocations: 35.62 kB / 1.125 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008698/0.9033, allocations: 343.6 kB / 1.126 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.9034, allocations: 11.94 kB / 1.126 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.9034, allocations: 3.938 kB / 1.126 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.9034, allocations: 0 / 1.126 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.9051, allocations: 0.9603 MB / 1.126 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.9051, allocations: 4 kB / 1.126 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.9054, allocations: 64.08 kB / 1.127 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.9054, allocations: 4 kB / 1.127 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.9055, allocations: 4 kB / 1.127 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.9055, allocations: 8.062 kB / 1.127 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.9055, allocations: 0 / 1.127 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.9067, allocations: 0.6029 MB / 1.127 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.9069, allocations: 128.8 kB / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.907, allocations: 4 kB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.9072, allocations: 47.88 kB / 1.127 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.9073, allocations: 19.92 kB / 1.127 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.9074, allocations: 7.984 kB / 1.127 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002009/0.9076, allocations: 194 kB / 1.128 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9076, allocations: 0 / 1.128 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004963/0.9081, allocations: 111.8 kB / 1.128 GB, free: 14.27 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.0005806/0.9087, allocations: 204.8 kB / 1.128 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008514/0.9095, allocations: 290 kB / 1.128 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.9095, allocations: 4 kB / 1.128 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.91, allocations: 156.8 kB / 1.128 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/0.9109, allocations: 118.7 kB / 1.128 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.9122, allocations: 0.7652 MB / 1.129 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.9126, allocations: 0.7758 MB / 1.13 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.9127, allocations: 27.44 kB / 1.13 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of SimCode: time 4.21e-07/0.9127, allocations: 4 kB / 1.13 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of Templates: time 0.009634/0.9223, allocations: 5.075 MB / 1.135 GB, free: 6.84 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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