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.001095/0.001095, allocations: 119.6 kB / 16.42 MB, free: 6.438 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.0009823/0.0009823, allocations: 190.5 kB / 17.35 MB, free: 5.738 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.266/1.266, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.139/2.139, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 0.9516 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7125/0.7139, allocations: 140.4 MB / 1.089 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1766/0.8905, allocations: 165.3 MB / 1.25 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.8932, allocations: 1.545 MB / 1.252 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.8934, allocations: 11.94 kB / 1.252 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.8938, allocations: 146.9 kB / 1.252 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.895, allocations: 489.8 kB / 1.252 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.8965, allocations: 0.7662 MB / 1.253 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006647/0.8972, allocations: 0.7059 MB / 1.254 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.8976, allocations: 274.5 kB / 1.254 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.8981, allocations: 314.9 kB / 1.254 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.8983, allocations: 227.1 kB / 1.254 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.8984, allocations: 24 kB / 1.254 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.8997, allocations: 0.8691 MB / 1.255 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.8998, allocations: 115.7 kB / 1.255 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.9, allocations: 155.2 kB / 1.256 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.9009, allocations: 0.7422 MB / 1.256 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.9009, allocations: 0 / 1.256 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.901, allocations: 0 / 1.256 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.901, allocations: 0 / 1.256 GB, free: 2.117 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.001065/0.902, allocations: 0.674 MB / 1.257 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.9021, allocations: 8.031 kB / 1.257 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/0.9026, allocations: 91.48 kB / 1.257 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.903, allocations: 317.8 kB / 1.257 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.903, allocations: 16.56 kB / 1.257 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.9031, allocations: 27.94 kB / 1.257 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.9038, allocations: 328.2 kB / 1.258 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.9038, allocations: 0 / 1.258 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.9038, allocations: 16 kB / 1.258 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.9038, allocations: 11.94 kB / 1.258 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007132/0.9045, allocations: 285.5 kB / 1.258 GB, free: 264 kB / 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.001611/0.9062, allocations: 1.052 MB / 1.259 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/0.9071, allocations: 331.6 kB / 1.259 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.9074, allocations: 136.8 kB / 1.259 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000675/0.9081, allocations: 392.3 kB / 1.26 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.9082, allocations: 34.56 kB / 1.26 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.866e-06/0.9082, allocations: 11.92 kB / 1.26 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001218/0.9094, allocations: 410.5 kB / 1.26 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.9094, allocations: 59.34 kB / 1.26 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.9097, allocations: 263 kB / 1.261 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.9097, allocations: 33.7 kB / 1.261 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.9098, allocations: 164.2 kB / 1.261 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.9099, allocations: 67.02 kB / 1.261 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.91, allocations: 45.7 kB / 1.261 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.9101, allocations: 334.8 kB / 1.261 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.9104, allocations: 107.9 kB / 1.261 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.9108, allocations: 159.1 kB / 1.261 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/0.9114, allocations: 275.1 kB / 1.262 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9114, allocations: 0 / 1.262 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007347/0.9122, allocations: 313.2 kB / 1.262 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9122, allocations: 7.938 kB / 1.262 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9122, allocations: 0 / 1.262 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9122, allocations: 4 kB / 1.262 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.9125, allocations: 63.83 kB / 1.262 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.9125, allocations: 4 kB / 1.262 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.9128, allocations: 39.66 kB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.9128, allocations: 15.98 kB / 1.262 GB, free: 11.73 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.0001535/0.913, allocations: 153.8 kB / 1.262 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.913, allocations: 23.72 kB / 1.262 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007936/0.9138, allocations: 318.3 kB / 1.263 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.9139, allocations: 7.938 kB / 1.263 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9139, allocations: 0 / 1.263 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.914, allocations: 128.6 kB / 1.263 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.9141, allocations: 4 kB / 1.263 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.9143, allocations: 19.97 kB / 1.263 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.9143, allocations: 11.98 kB / 1.263 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008931/0.9152, allocations: 376.7 kB / 1.263 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001099/0.9164, allocations: 0.5979 MB / 1.264 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003152/0.9167, allocations: 123.9 kB / 1.264 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001678/0.9169, allocations: 193.9 kB / 1.264 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of Backend: time 2.51e-07/0.9169, allocations: 4.062 kB / 1.264 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.9182, allocations: 441.6 kB / 1.264 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001281/0.9195, allocations: 1.052 MB / 1.265 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of Templates: time 0.01255/0.932, allocations: 8.01 MB / 1.273 GB, free: 280 kB / 0.9981 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/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