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.001291/0.001291, allocations: 90.52 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.009896/0.009896, allocations: 171.6 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.534/1.534, 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 9.1.3-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.9 MB / 0.6663 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.8471, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1936/1.041, allocations: 160.9 MB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003273/1.044, allocations: 1.555 MB / 1.114 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/1.044, allocations: 11.88 kB / 1.114 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004782/1.045, allocations: 115.2 kB / 1.114 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/1.046, allocations: 438.2 kB / 1.114 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/1.048, allocations: 0.6885 MB / 1.115 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001195/1.049, allocations: 0.9982 MB / 1.116 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004578/1.05, allocations: 222.1 kB / 1.116 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007863/1.051, allocations: 274.9 kB / 1.116 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/1.051, allocations: 223 kB / 1.117 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/1.051, allocations: 12 kB / 1.117 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/1.053, allocations: 0.982 MB / 1.118 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/1.053, allocations: 107.7 kB / 1.118 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/1.053, allocations: 165 kB / 1.118 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/1.055, allocations: 0.7673 MB / 1.119 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.055, allocations: 0 / 1.119 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.603e-06/1.055, allocations: 4 kB / 1.119 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.116e-05/1.055, allocations: 0 / 1.119 GB, free: 7.32 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.001194/1.056, allocations: 0.6352 MB / 1.119 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.056, allocations: 8.031 kB / 1.119 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/1.057, allocations: 79.52 kB / 1.119 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/1.057, allocations: 309.9 kB / 1.12 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/1.057, allocations: 16.56 kB / 1.12 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/1.057, allocations: 28 kB / 1.12 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/1.058, allocations: 344.2 kB / 1.12 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.058, allocations: 0 / 1.12 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/1.058, allocations: 12 kB / 1.12 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/1.058, allocations: 11.88 kB / 1.12 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/1.059, allocations: 313.5 kB / 1.12 GB, free: 5.48 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.001767/1.061, allocations: 1.09 MB / 1.121 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009448/1.062, allocations: 335.7 kB / 1.122 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/1.062, allocations: 156.8 kB / 1.122 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007808/1.063, allocations: 408.3 kB / 1.122 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/1.063, allocations: 34.56 kB / 1.122 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/1.063, allocations: 0 / 1.122 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001384/1.064, allocations: 455.2 kB / 1.123 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/1.064, allocations: 59.41 kB / 1.123 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/1.065, allocations: 267 kB / 1.123 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/1.065, allocations: 29.7 kB / 1.123 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/1.065, allocations: 172.1 kB / 1.123 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/1.065, allocations: 67.05 kB / 1.123 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/1.065, allocations: 21.7 kB / 1.123 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.065, allocations: 338.8 kB / 1.124 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/1.066, allocations: 119.9 kB / 1.124 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/1.066, allocations: 187.1 kB / 1.124 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/1.067, allocations: 302.1 kB / 1.124 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.067, allocations: 0 / 1.124 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008474/1.068, allocations: 358.7 kB / 1.124 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.068, allocations: 4 kB / 1.124 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.068, allocations: 4 kB / 1.124 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.068, allocations: 3.938 kB / 1.124 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/1.068, allocations: 76.02 kB / 1.125 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.068, allocations: 0 / 1.125 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/1.068, allocations: 51.81 kB / 1.125 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/1.068, allocations: 8 kB / 1.125 GB, free: 0.7305 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.0001673/1.069, allocations: 157.7 kB / 1.125 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/1.069, allocations: 27.62 kB / 1.125 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008708/1.07, allocations: 343.6 kB / 1.125 GB, free: 204 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.07, allocations: 7.938 kB / 1.125 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.07, allocations: 0 / 1.125 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.07, allocations: 8.016 kB / 1.125 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/1.072, allocations: 0.9603 MB / 1.126 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/1.072, allocations: 8.062 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/1.072, allocations: 60.09 kB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.072, allocations: 4 kB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/1.072, allocations: 4 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.072, allocations: 0 / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.072, allocations: 7.984 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/1.073, allocations: 0.6034 MB / 1.127 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/1.073, allocations: 128.8 kB / 1.127 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/1.073, allocations: 4.062 kB / 1.127 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/1.074, allocations: 39.88 kB / 1.127 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/1.074, allocations: 27.91 kB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/1.074, allocations: 7.938 kB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001905/1.074, allocations: 198 kB / 1.127 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/1.074, allocations: 0 / 1.127 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004862/1.075, allocations: 107.8 kB / 1.127 GB, free: 13.88 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.0005969/1.075, allocations: 211.8 kB / 1.127 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008756/1.076, allocations: 286 kB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.076, allocations: 0 / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005247/1.077, allocations: 156.2 kB / 1.128 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/1.078, allocations: 121.8 kB / 1.128 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/1.079, allocations: 0.7329 MB / 1.129 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/1.08, allocations: 0.7797 MB / 1.129 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003025/1.08, allocations: 66.23 kB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/1.08, allocations: 23.44 kB / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of SimCode: time 6.12e-07/1.08, allocations: 0 / 1.13 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of Templates: time 0.01223/1.092, allocations: 5.546 MB / 1.135 GB, free: 5.988 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches