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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001399/0.001399, allocations: 109 kB / 16.41 MB, free: 6.488 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.001377/0.001377, allocations: 187 kB / 17.34 MB, free: 5.73 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8804/0.8817, allocations: 140.4 MB / 1.089 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2037/1.085, allocations: 165.3 MB / 1.25 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003038/1.089, allocations: 1.549 MB / 1.252 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/1.089, allocations: 11.94 kB / 1.252 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004977/1.089, allocations: 150.9 kB / 1.252 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/1.091, allocations: 481.9 kB / 1.252 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/1.093, allocations: 0.767 MB / 1.253 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008109/1.093, allocations: 0.6981 MB / 1.254 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/1.094, allocations: 270.5 kB / 1.254 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/1.094, allocations: 318.9 kB / 1.254 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/1.095, allocations: 227.1 kB / 1.254 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/1.095, allocations: 24 kB / 1.254 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/1.096, allocations: 0.8691 MB / 1.255 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/1.096, allocations: 115.7 kB / 1.255 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/1.097, allocations: 159.2 kB / 1.255 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/1.098, allocations: 0.7383 MB / 1.256 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.098, allocations: 0 / 1.256 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/1.098, allocations: 0 / 1.256 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.098, allocations: 0 / 1.256 GB, free: 2.23 MB / 0.9825 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.001082/1.099, allocations: 0.6857 MB / 1.257 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/1.099, allocations: 8.031 kB / 1.257 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/1.099, allocations: 83.48 kB / 1.257 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/1.1, allocations: 317.8 kB / 1.257 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/1.1, allocations: 16.56 kB / 1.257 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/1.1, allocations: 20 kB / 1.257 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006707/1.101, allocations: 336.2 kB / 1.258 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/1.101, allocations: 3.984 kB / 1.258 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/1.101, allocations: 12 kB / 1.258 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.101, allocations: 7.938 kB / 1.258 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006815/1.101, allocations: 293.5 kB / 1.258 GB, free: 372 kB / 0.9825 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.001578/1.103, allocations: 1.052 MB / 1.259 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/1.104, allocations: 331.6 kB / 1.259 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/1.104, allocations: 136.8 kB / 1.259 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006312/1.105, allocations: 396.3 kB / 1.26 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/1.105, allocations: 30.56 kB / 1.26 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 3.196e-06/1.105, allocations: 0 / 1.26 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.00116/1.106, allocations: 414.4 kB / 1.26 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/1.106, allocations: 59.33 kB / 1.26 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/1.106, allocations: 267 kB / 1.261 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/1.106, allocations: 29.7 kB / 1.261 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/1.106, allocations: 172.2 kB / 1.261 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/1.106, allocations: 67 kB / 1.261 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/1.107, allocations: 41.7 kB / 1.261 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.107, allocations: 338.8 kB / 1.261 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/1.107, allocations: 107.8 kB / 1.261 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/1.107, allocations: 162.5 kB / 1.261 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/1.108, allocations: 263.1 kB / 1.262 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.108, allocations: 4 kB / 1.262 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007076/1.109, allocations: 313.1 kB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.109, allocations: 8 kB / 1.262 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.109, allocations: 0 / 1.262 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.109, allocations: 7.938 kB / 1.262 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/1.109, allocations: 60.06 kB / 1.262 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.109, allocations: 11.97 kB / 1.262 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/1.109, allocations: 43.66 kB / 1.262 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/1.109, allocations: 8 kB / 1.262 GB, free: 11.84 MB / 0.9981 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.0001511/1.109, allocations: 145.8 kB / 1.262 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/1.109, allocations: 27.72 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/1.11, allocations: 322.3 kB / 1.263 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/1.11, allocations: 3.938 kB / 1.263 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.11, allocations: 0 / 1.263 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.11, allocations: 4 kB / 1.263 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/1.112, allocations: 0.9328 MB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.112, allocations: 4 kB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/1.112, allocations: 51.95 kB / 1.264 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.112, allocations: 0 / 1.264 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/1.112, allocations: 8.109 kB / 1.264 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/1.112, allocations: 7.938 kB / 1.264 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.112, allocations: 3.984 kB / 1.264 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/1.113, allocations: 0.5663 MB / 1.264 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/1.113, allocations: 132.7 kB / 1.264 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/1.113, allocations: 3.984 kB / 1.264 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/1.114, allocations: 19.98 kB / 1.264 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/1.114, allocations: 27.97 kB / 1.264 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/1.114, allocations: 8 kB / 1.264 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001742/1.114, allocations: 194 kB / 1.264 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.114, allocations: 0 / 1.264 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000449/1.114, allocations: 107.8 kB / 1.265 GB, free: 9.117 MB / 0.9981 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.0004979/1.115, allocations: 205.2 kB / 1.265 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000693/1.115, allocations: 251.6 kB / 1.265 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.116, allocations: 320 / 1.265 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/1.116, allocations: 139.8 kB / 1.265 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/1.117, allocations: 132.3 kB / 1.265 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/1.118, allocations: 0.6365 MB / 1.266 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/1.118, allocations: 0.7755 MB / 1.267 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/1.118, allocations: 31.44 kB / 1.267 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/1.118, allocations: 0 / 1.267 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of Templates: time 0.007471/1.126, allocations: 5.152 MB / 1.272 GB, free: 1.781 MB / 0.9981 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