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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.0008031/0.0008031, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004992/0.004993, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.389/1.389, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 8 kB / 0.8728 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6904/0.6908, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1857/0.8765, allocations: 160.9 MB / 1.18 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003032/0.8796, allocations: 1.544 MB / 1.182 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.8799, allocations: 7.938 kB / 1.182 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.8804, allocations: 119.3 kB / 1.182 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.8817, allocations: 442.2 kB / 1.182 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.8838, allocations: 0.689 MB / 1.183 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009841/0.8848, allocations: 0.9906 MB / 1.184 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.8851, allocations: 222 kB / 1.184 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004671/0.8856, allocations: 274.9 kB / 1.184 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.8859, allocations: 227 kB / 1.185 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.8859, allocations: 12 kB / 1.185 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.8875, allocations: 0.9859 MB / 1.186 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.8876, allocations: 103.7 kB / 1.186 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.8878, allocations: 169 kB / 1.186 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.8889, allocations: 0.7712 MB / 1.187 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.8889, allocations: 0 / 1.187 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8889, allocations: 0 / 1.187 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.8889, allocations: 0 / 1.187 GB, free: 7.82 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.001066/0.89, allocations: 0.6352 MB / 1.187 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.89, allocations: 8.031 kB / 1.187 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/0.8905, allocations: 87.48 kB / 1.187 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.8909, allocations: 301.9 kB / 1.188 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.8909, allocations: 20.56 kB / 1.188 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.891, allocations: 24 kB / 1.188 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.8917, allocations: 344.2 kB / 1.188 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.8917, allocations: 0 / 1.188 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.8917, allocations: 12 kB / 1.188 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.8917, allocations: 7.938 kB / 1.188 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007553/0.8925, allocations: 321.5 kB / 1.188 GB, free: 5.984 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.001638/0.8941, allocations: 1.079 MB / 1.189 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009326/0.8951, allocations: 345.2 kB / 1.19 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.8955, allocations: 152.8 kB / 1.19 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006911/0.8962, allocations: 408.3 kB / 1.19 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.8962, allocations: 38.5 kB / 1.19 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 2.876e-06/0.8962, allocations: 0 / 1.19 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001302/0.8975, allocations: 462.8 kB / 1.191 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.8976, allocations: 55.41 kB / 1.191 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.8978, allocations: 274.9 kB / 1.191 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.8979, allocations: 25.7 kB / 1.191 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.898, allocations: 172.2 kB / 1.191 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.8981, allocations: 63.09 kB / 1.191 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.8981, allocations: 21.72 kB / 1.191 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8982, allocations: 338.8 kB / 1.192 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.8986, allocations: 119.9 kB / 1.192 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.899, allocations: 179.9 kB / 1.192 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.8997, allocations: 314.1 kB / 1.192 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8997, allocations: 0 / 1.192 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007821/0.9005, allocations: 345.1 kB / 1.192 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9005, allocations: 4 kB / 1.192 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.9005, allocations: 4 kB / 1.192 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.9005, allocations: 3.938 kB / 1.192 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.9008, allocations: 63.95 kB / 1.193 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.9008, allocations: 3.938 kB / 1.193 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.9011, allocations: 51.94 kB / 1.193 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.9012, allocations: 11.98 kB / 1.193 GB, free: 1.25 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.000146/0.9013, allocations: 153.8 kB / 1.193 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.9014, allocations: 31.62 kB / 1.193 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008599/0.9023, allocations: 353.5 kB / 1.193 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.9023, allocations: 7.938 kB / 1.193 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.9023, allocations: 0 / 1.193 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9023, allocations: 0 / 1.193 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.9039, allocations: 0.9681 MB / 1.194 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.9039, allocations: 4 kB / 1.194 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.9041, allocations: 55.89 kB / 1.194 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.9042, allocations: 4 kB / 1.194 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.9042, allocations: 8.188 kB / 1.194 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.9042, allocations: 4 kB / 1.194 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9042, allocations: 4 kB / 1.194 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.9054, allocations: 0.6066 MB / 1.195 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.9055, allocations: 128.7 kB / 1.195 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.9056, allocations: 8 kB / 1.195 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.9058, allocations: 32.03 kB / 1.195 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.9059, allocations: 27.91 kB / 1.195 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.9059, allocations: 4 kB / 1.195 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001646/0.9061, allocations: 197.9 kB / 1.195 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9061, allocations: 3.938 kB / 1.195 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004415/0.9066, allocations: 103.8 kB / 1.195 GB, free: 14.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.0004635/0.907, allocations: 201.8 kB / 1.195 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007544/0.9078, allocations: 287.8 kB / 1.196 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.9078, allocations: 4 kB / 1.196 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.9082, allocations: 152.2 kB / 1.196 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.909, allocations: 126.7 kB / 1.196 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.9101, allocations: 0.7289 MB / 1.197 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.9105, allocations: 0.7796 MB / 1.197 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002321/0.9107, allocations: 70.22 kB / 1.197 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.9108, allocations: 27.38 kB / 1.198 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.9108, allocations: 0 / 1.198 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of Templates: time 0.01101/0.9218, allocations: 5.551 MB / 1.203 GB, free: 6.496 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches