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.00148/0.00148, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001727/0.001727, allocations: 198.5 kB / 16.91 MB, free: 6.195 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 469.4 MB / 0.7423 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 64.17 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2971, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.7424/1.04, allocations: 163 MB / 1.223 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003159/1.043, allocations: 1.545 MB / 1.224 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/1.043, allocations: 9.5 kB / 1.224 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005088/1.044, allocations: 117.6 kB / 1.225 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/1.045, allocations: 440.2 kB / 1.225 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/1.047, allocations: 0.7048 MB / 1.226 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008083/1.048, allocations: 0.7029 MB / 1.226 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/1.048, allocations: 259.9 kB / 1.227 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005387/1.049, allocations: 309.2 kB / 1.227 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/1.049, allocations: 240.1 kB / 1.227 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/1.049, allocations: 27.19 kB / 1.227 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/1.051, allocations: 0.8906 MB / 1.228 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/1.051, allocations: 123.2 kB / 1.228 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/1.051, allocations: 149.9 kB / 1.228 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007595/1.052, allocations: 0.5259 MB / 1.229 GB, free: 148 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.052, allocations: 4 kB / 1.229 GB, free: 144 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/1.052, allocations: 0 / 1.229 GB, free: 144 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.052, allocations: 0 / 1.229 GB, free: 144 kB / 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.001223/1.053, allocations: 0.6677 MB / 1.229 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.053, allocations: 11.16 kB / 1.229 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/1.054, allocations: 88.3 kB / 1.23 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/1.054, allocations: 300.8 kB / 1.23 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/1.054, allocations: 22.62 kB / 1.23 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/1.054, allocations: 21.22 kB / 1.23 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/1.055, allocations: 331.7 kB / 1.23 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.055, allocations: 3.984 kB / 1.23 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/1.055, allocations: 10.56 kB / 1.23 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/1.055, allocations: 9.844 kB / 1.23 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006705/1.055, allocations: 284.8 kB / 1.23 GB, free: 14.86 MB / 0.9512 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.001591/1.057, allocations: 1.068 MB / 1.232 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000867/1.058, allocations: 319.7 kB / 1.232 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/1.058, allocations: 136.8 kB / 1.232 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006898/1.059, allocations: 396.3 kB / 1.232 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/1.059, allocations: 34.5 kB / 1.232 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/1.059, allocations: 4 kB / 1.232 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001185/1.06, allocations: 405 kB / 1.233 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/1.06, allocations: 59.28 kB / 1.233 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/1.06, allocations: 270.9 kB / 1.233 GB, free: 12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/1.061, allocations: 29.7 kB / 1.233 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.061, allocations: 172.2 kB / 1.233 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/1.061, allocations: 59.11 kB / 1.233 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/1.061, allocations: 49.61 kB / 1.233 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.061, allocations: 334.8 kB / 1.234 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/1.061, allocations: 107.9 kB / 1.234 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/1.062, allocations: 159.7 kB / 1.234 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005621/1.062, allocations: 274.5 kB / 1.234 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/1.062, allocations: 4 kB / 1.234 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006673/1.063, allocations: 311.2 kB / 1.235 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.063, allocations: 10.34 kB / 1.235 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.063, allocations: 0 / 1.235 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/1.063, allocations: 7.984 kB / 1.235 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/1.063, allocations: 59.84 kB / 1.235 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.063, allocations: 4 kB / 1.235 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/1.063, allocations: 47.8 kB / 1.235 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/1.063, allocations: 8 kB / 1.235 GB, free: 10.33 MB / 0.9512 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.0001734/1.064, allocations: 159.9 kB / 1.235 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/1.064, allocations: 23.72 kB / 1.235 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/1.064, allocations: 316.5 kB / 1.235 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.064, allocations: 3.938 kB / 1.235 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.064, allocations: 0 / 1.235 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.064, allocations: 0 / 1.235 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/1.066, allocations: 0.9353 MB / 1.236 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.066, allocations: 5.188 kB / 1.236 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/1.066, allocations: 56.12 kB / 1.236 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.066, allocations: 7.984 kB / 1.236 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/1.066, allocations: 4 kB / 1.236 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.066, allocations: 7.938 kB / 1.236 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.066, allocations: 0 / 1.236 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/1.067, allocations: 0.5636 MB / 1.237 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/1.068, allocations: 124.8 kB / 1.237 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/1.068, allocations: 4.875 kB / 1.237 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/1.068, allocations: 31.91 kB / 1.237 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/1.068, allocations: 23.98 kB / 1.237 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/1.068, allocations: 8 kB / 1.237 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001741/1.068, allocations: 193.9 kB / 1.237 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/1.068, allocations: 0 / 1.237 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004644/1.069, allocations: 107.8 kB / 1.237 GB, free: 7.605 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.0005333/1.069, allocations: 206.6 kB / 1.237 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007149/1.07, allocations: 265.3 kB / 1.238 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.07, allocations: 0 / 1.238 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003361/1.07, allocations: 147 kB / 1.238 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007592/1.071, allocations: 123.3 kB / 1.238 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/1.072, allocations: 0.7304 MB / 1.239 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/1.073, allocations: 0.7833 MB / 1.239 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/1.073, allocations: 27.44 kB / 1.239 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/1.073, allocations: 0 / 1.239 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.008767/1.081, allocations: 5.128 MB / 1.244 GB, free: 188 kB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches