Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001745/0.001745, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002085/0.002085, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 72.05 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3183, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1882/0.5065, allocations: 163 MB / 1.211 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003399/0.5099, allocations: 1.579 MB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005823/0.5105, allocations: 7.938 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006682/0.5112, allocations: 115.2 kB / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.5129, allocations: 438.2 kB / 1.213 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.5152, allocations: 0.6851 MB / 1.214 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.5165, allocations: 0.9906 MB / 1.215 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005265/0.5171, allocations: 226.1 kB / 1.215 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008143/0.5179, allocations: 278.9 kB / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.5184, allocations: 235.1 kB / 1.216 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.16e-05/0.5185, allocations: 20 kB / 1.216 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.5208, allocations: 0.9781 MB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.5211, allocations: 111.6 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.5214, allocations: 155.2 kB / 1.217 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.5233, allocations: 0.7674 MB / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.5234, allocations: 0 / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5234, allocations: 0 / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.5234, allocations: 4 kB / 1.218 GB, free: 14.6 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.001579/0.525, allocations: 0.6741 MB / 1.218 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.525, allocations: 8.031 kB / 1.218 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006253/0.5257, allocations: 87.5 kB / 1.218 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.5262, allocations: 294 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.5262, allocations: 20.56 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.5263, allocations: 27.98 kB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/0.527, allocations: 328.2 kB / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.527, allocations: 0 / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.5271, allocations: 12 kB / 1.219 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.5271, allocations: 11.94 kB / 1.219 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007602/0.5279, allocations: 285.5 kB / 1.219 GB, free: 12.77 MB / 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.00198/0.5299, allocations: 1.079 MB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.531, allocations: 323.6 kB / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.5314, allocations: 137.8 kB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008897/0.5323, allocations: 392.3 kB / 1.221 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.5324, allocations: 34.56 kB / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 3.366e-06/0.5324, allocations: 0 / 1.221 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001397/0.5338, allocations: 406.4 kB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.5338, allocations: 55.41 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.5342, allocations: 270.9 kB / 1.222 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.5342, allocations: 25.7 kB / 1.222 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.5344, allocations: 176.1 kB / 1.222 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.433e-05/0.5345, allocations: 74.95 kB / 1.222 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5346, allocations: 49.61 kB / 1.222 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5347, allocations: 334.8 kB / 1.223 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.5351, allocations: 103.9 kB / 1.223 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.5354, allocations: 163.9 kB / 1.223 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.5361, allocations: 270.2 kB / 1.223 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5361, allocations: 4 kB / 1.223 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007917/0.5369, allocations: 310.8 kB / 1.223 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.5369, allocations: 8 kB / 1.223 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5369, allocations: 0 / 1.223 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.537, allocations: 7.938 kB / 1.223 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.5373, allocations: 60.05 kB / 1.224 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.5373, allocations: 4 kB / 1.224 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.5376, allocations: 39.72 kB / 1.224 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.5376, allocations: 8 kB / 1.224 GB, free: 8.234 MB / 0.9825 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.0001841/0.5378, allocations: 157.8 kB / 1.224 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.5379, allocations: 27.78 kB / 1.224 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008657/0.5388, allocations: 319.6 kB / 1.224 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5388, allocations: 7.875 kB / 1.224 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5388, allocations: 0 / 1.224 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5388, allocations: 4 kB / 1.224 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.5405, allocations: 0.929 MB / 1.225 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5405, allocations: 4 kB / 1.225 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.5408, allocations: 39.97 kB / 1.225 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.5408, allocations: 4 kB / 1.225 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.5409, allocations: 8 kB / 1.225 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.5409, allocations: 8.172 kB / 1.225 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5409, allocations: 7.938 kB / 1.225 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.542, allocations: 0.5562 MB / 1.226 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.5422, allocations: 124.8 kB / 1.226 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.5423, allocations: 8 kB / 1.226 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.5425, allocations: 28.03 kB / 1.226 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/0.5426, allocations: 27.84 kB / 1.226 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.5427, allocations: 8 kB / 1.226 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001834/0.5429, allocations: 190 kB / 1.226 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5429, allocations: 0 / 1.226 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005077/0.5434, allocations: 115.8 kB / 1.226 GB, free: 5.504 MB / 0.9825 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.0005796/0.544, allocations: 197.8 kB / 1.226 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008081/0.5448, allocations: 249.8 kB / 1.226 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5448, allocations: 4 kB / 1.226 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.5452, allocations: 136.5 kB / 1.227 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/0.546, allocations: 132.5 kB / 1.227 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.5474, allocations: 0.7027 MB / 1.227 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.5478, allocations: 0.7797 MB / 1.228 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002899/0.5481, allocations: 66.22 kB / 1.228 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.5482, allocations: 31.44 kB / 1.228 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.5482, allocations: 0 / 1.228 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of Templates: time 0.01183/0.56, allocations: 5.579 MB / 1.234 GB, free: 13.64 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches