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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 191.5 kB / 16.53 MB, free: 6.391 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 472.7 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 65.53 kB / 0.9121 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3668, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1796/0.5464, allocations: 165.3 MB / 1.23 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002882/0.5493, allocations: 1.555 MB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.5497, allocations: 11.94 kB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.5502, allocations: 142.9 kB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.5514, allocations: 461.9 kB / 1.232 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.5532, allocations: 0.7544 MB / 1.232 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008112/0.554, allocations: 0.7059 MB / 1.233 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004561/0.5545, allocations: 254.8 kB / 1.233 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.5551, allocations: 318.8 kB / 1.234 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.5554, allocations: 223.1 kB / 1.234 GB, free: 72 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.5555, allocations: 24 kB / 1.234 GB, free: 48 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.5569, allocations: 0.8652 MB / 1.235 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.5571, allocations: 115.7 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.5573, allocations: 155.2 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.5585, allocations: 0.7325 MB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5585, allocations: 4 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5585, allocations: 4 kB / 1.236 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.5585, allocations: 0 / 1.236 GB, free: 14.17 MB / 0.9981 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.001176/0.5597, allocations: 0.6624 MB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5598, allocations: 16.02 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005142/0.5603, allocations: 83.52 kB / 1.237 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.5607, allocations: 309.8 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.5607, allocations: 16.56 kB / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.5608, allocations: 24 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.5614, allocations: 328.2 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5615, allocations: 0 / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.5615, allocations: 12 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5615, allocations: 7.938 kB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.5622, allocations: 293.4 kB / 1.237 GB, free: 12.34 MB / 0.9981 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.001634/0.5639, allocations: 1.067 MB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009173/0.5648, allocations: 323.6 kB / 1.239 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.5652, allocations: 136.8 kB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007067/0.5659, allocations: 392.3 kB / 1.239 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.5659, allocations: 38.56 kB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.834e-06/0.566, allocations: 0 / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001257/0.5672, allocations: 415.3 kB / 1.24 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.5673, allocations: 51.41 kB / 1.24 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.5675, allocations: 267 kB / 1.24 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.5676, allocations: 29.7 kB / 1.24 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.5677, allocations: 172.1 kB / 1.24 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.5677, allocations: 66.95 kB / 1.24 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.5678, allocations: 45.7 kB / 1.24 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5679, allocations: 338.8 kB / 1.241 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.5683, allocations: 103.9 kB / 1.241 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.5686, allocations: 164.3 kB / 1.241 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.5693, allocations: 274.7 kB / 1.241 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5693, allocations: 0 / 1.241 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007879/0.5701, allocations: 317.1 kB / 1.241 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5701, allocations: 8 kB / 1.241 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5701, allocations: 0 / 1.241 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5702, allocations: 7.938 kB / 1.242 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.5704, allocations: 51.95 kB / 1.242 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5705, allocations: 7.938 kB / 1.242 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.5707, allocations: 39.84 kB / 1.242 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.5708, allocations: 12 kB / 1.242 GB, free: 7.809 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.0001453/0.5709, allocations: 151.6 kB / 1.242 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.571, allocations: 23.77 kB / 1.242 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008086/0.5718, allocations: 336.7 kB / 1.242 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.5718, allocations: 3.938 kB / 1.242 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5718, allocations: 0 / 1.242 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5718, allocations: 0 / 1.242 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.5735, allocations: 0.9285 MB / 1.243 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.5735, allocations: 4 kB / 1.243 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.5738, allocations: 56.03 kB / 1.243 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.5738, allocations: 0 / 1.243 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.5739, allocations: 11.98 kB / 1.243 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.5739, allocations: 4 kB / 1.243 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5739, allocations: 0 / 1.243 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5751, allocations: 0.5646 MB / 1.244 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.5753, allocations: 124.7 kB / 1.244 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.5754, allocations: 4 kB / 1.244 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.5757, allocations: 19.97 kB / 1.244 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.5758, allocations: 19.92 kB / 1.244 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.5758, allocations: 15.98 kB / 1.244 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002403/0.5761, allocations: 194 kB / 1.244 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5761, allocations: 0 / 1.244 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006213/0.5767, allocations: 111.8 kB / 1.244 GB, free: 5.09 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.0007283/0.5774, allocations: 200 kB / 1.244 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009004/0.5783, allocations: 271.6 kB / 1.245 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5784, allocations: 0 / 1.245 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.5788, allocations: 140.5 kB / 1.245 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/0.5797, allocations: 133.6 kB / 1.245 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.5813, allocations: 0.5996 MB / 1.245 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.5818, allocations: 0.7833 MB / 1.246 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003324/0.5821, allocations: 70.17 kB / 1.246 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.5822, allocations: 27.42 kB / 1.246 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.5822, allocations: 0 / 1.246 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of Templates: time 0.5761/1.158, allocations: 5.949 MB / 1.252 GB, free: 185.6 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