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.00148/0.00148, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001585/0.001585, allocations: 189.4 kB / 17.29 MB, free: 5.48 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: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 62.28 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2937, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.8002/1.094, allocations: 165.3 MB / 1.113 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003757/1.098, allocations: 1.545 MB / 1.114 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/1.098, allocations: 10.91 kB / 1.114 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006175/1.099, allocations: 142.7 kB / 1.114 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/1.101, allocations: 475.1 kB / 1.115 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/1.104, allocations: 0.7539 MB / 1.115 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001276/1.105, allocations: 0.7019 MB / 1.116 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/1.106, allocations: 262.1 kB / 1.116 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007778/1.106, allocations: 313.9 kB / 1.117 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/1.107, allocations: 232.9 kB / 1.117 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/1.107, allocations: 24.16 kB / 1.117 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/1.109, allocations: 0.8616 MB / 1.118 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/1.109, allocations: 115.1 kB / 1.118 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002474/1.11, allocations: 155.1 kB / 1.118 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/1.112, allocations: 0.7407 MB / 1.119 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.112, allocations: 0 / 1.119 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.665e-06/1.112, allocations: 0 / 1.119 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.112, allocations: 1.094 kB / 1.119 GB, free: 5.176 MB / 0.8575 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.001537/1.113, allocations: 0.6747 MB / 1.119 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.113, allocations: 9.688 kB / 1.119 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005387/1.114, allocations: 85.58 kB / 1.119 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/1.114, allocations: 315.6 kB / 1.12 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/1.114, allocations: 19.97 kB / 1.12 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/1.114, allocations: 23.42 kB / 1.12 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/1.115, allocations: 332.8 kB / 1.12 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.115, allocations: 0.7969 kB / 1.12 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/1.115, allocations: 9.188 kB / 1.12 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/1.115, allocations: 11.06 kB / 1.12 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/1.116, allocations: 284.7 kB / 1.12 GB, free: 20.36 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.001774/1.118, allocations: 1.074 MB / 1.121 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009247/1.119, allocations: 325.3 kB / 1.122 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/1.119, allocations: 133.7 kB / 1.122 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000762/1.12, allocations: 394.9 kB / 1.122 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/1.12, allocations: 35.55 kB / 1.122 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/1.12, allocations: 0 / 1.122 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001244/1.121, allocations: 404.6 kB / 1.123 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/1.121, allocations: 57.78 kB / 1.123 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/1.121, allocations: 266.5 kB / 1.123 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/1.121, allocations: 31.14 kB / 1.123 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/1.122, allocations: 174.3 kB / 1.123 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/1.122, allocations: 62.75 kB / 1.123 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/1.122, allocations: 48.45 kB / 1.123 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.122, allocations: 339.2 kB / 1.124 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/1.122, allocations: 106.5 kB / 1.124 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/1.123, allocations: 170.7 kB / 1.124 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/1.123, allocations: 269.3 kB / 1.124 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/1.123, allocations: 1.188 kB / 1.124 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008058/1.124, allocations: 314.2 kB / 1.124 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.124, allocations: 5.875 kB / 1.124 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.124, allocations: 2.156 kB / 1.124 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/1.124, allocations: 2.125 kB / 1.124 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/1.124, allocations: 67.86 kB / 1.124 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.124, allocations: 5.031 kB / 1.124 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/1.125, allocations: 36.12 kB / 1.125 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/1.125, allocations: 7.719 kB / 1.125 GB, free: 18.37 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.0001912/1.125, allocations: 157.5 kB / 1.125 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/1.125, allocations: 28.27 kB / 1.125 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008473/1.126, allocations: 321.7 kB / 1.125 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.126, allocations: 5.031 kB / 1.125 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.126, allocations: 3.531 kB / 1.125 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/1.126, allocations: 1.453 kB / 1.125 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/1.128, allocations: 0.9316 MB / 1.126 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.128, allocations: 1.219 kB / 1.126 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.128, allocations: 49.88 kB / 1.126 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.128, allocations: 1.438 kB / 1.126 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/1.128, allocations: 7.656 kB / 1.126 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/1.128, allocations: 8.031 kB / 1.126 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.128, allocations: 1.219 kB / 1.126 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009983/1.129, allocations: 0.5549 MB / 1.127 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/1.129, allocations: 125.7 kB / 1.127 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/1.129, allocations: 8.047 kB / 1.127 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/1.129, allocations: 20.27 kB / 1.127 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/1.129, allocations: 28.41 kB / 1.127 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/1.129, allocations: 10.16 kB / 1.127 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001865/1.13, allocations: 193.2 kB / 1.127 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/1.13, allocations: 0 / 1.127 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005676/1.13, allocations: 106 kB / 1.127 GB, free: 17.25 MB / 0.8731 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.0005825/1.131, allocations: 214.3 kB / 1.127 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008065/1.132, allocations: 247.6 kB / 1.127 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.132, allocations: 0.8438 kB / 1.127 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/1.132, allocations: 143.9 kB / 1.128 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/1.133, allocations: 127.4 kB / 1.128 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.134, allocations: 0.6015 MB / 1.128 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/1.134, allocations: 0.7811 MB / 1.129 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002537/1.135, allocations: 70.84 kB / 1.129 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/1.135, allocations: 26.5 kB / 1.129 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.135, allocations: 0 / 1.129 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of Templates: time 0.01265/1.148, allocations: 5.946 MB / 1.135 GB, free: 15.68 MB / 0.8731 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 -s cvode -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