Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00315/0.00315, allocations: 63.89 kB / 1.061 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.07, allocations: 160.8 MB / 1.218 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2526/1.322, allocations: 166 MB / 1.381 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004216/1.326, allocations: 1.571 MB / 1.382 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004128/1.327, allocations: 15.81 kB / 1.382 GB, free: 15.09 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006043/1.328, allocations: 146.9 kB / 1.382 GB, free: 14.95 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/1.329, allocations: 493.8 kB / 1.383 GB, free: 14.46 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/1.332, allocations: 0.8057 MB / 1.384 GB, free: 13.66 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00108/1.333, allocations: 0.7214 MB / 1.384 GB, free: 12.93 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/1.333, allocations: 203.2 kB / 1.384 GB, free: 12.73 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/1.334, allocations: 326.8 kB / 1.385 GB, free: 12.41 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/1.334, allocations: 235.1 kB / 1.385 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/1.334, allocations: 28 kB / 1.385 GB, free: 12.16 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/1.336, allocations: 0.9314 MB / 1.386 GB, free: 11.22 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/1.337, allocations: 115.7 kB / 1.386 GB, free: 11.11 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/1.337, allocations: 159.2 kB / 1.386 GB, free: 10.95 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/1.338, allocations: 0.7462 MB / 1.387 GB, free: 10.21 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.338, allocations: 0 / 1.387 GB, free: 10.21 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.533e-06/1.338, allocations: 0 / 1.387 GB, free: 10.21 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.914e-06/1.338, allocations: 0 / 1.387 GB, free: 10.21 MB / 1.092 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.00141/1.34, allocations: 0.6926 MB / 1.388 GB, free: 9.469 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.34, allocations: 8.031 kB / 1.388 GB, free: 9.461 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005723/1.34, allocations: 91.64 kB / 1.388 GB, free: 9.371 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/1.341, allocations: 317.9 kB / 1.388 GB, free: 9.023 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/1.341, allocations: 20.5 kB / 1.388 GB, free: 9.004 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/1.341, allocations: 24 kB / 1.388 GB, free: 8.98 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/1.342, allocations: 335.4 kB / 1.388 GB, free: 8.637 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.342, allocations: 4 kB / 1.388 GB, free: 8.633 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/1.342, allocations: 4 kB / 1.388 GB, free: 8.629 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/1.342, allocations: 11.94 kB / 1.388 GB, free: 8.617 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/1.343, allocations: 285.5 kB / 1.389 GB, free: 8.34 MB / 1.092 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.002053/1.345, allocations: 1.067 MB / 1.39 GB, free: 7.207 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009697/1.346, allocations: 311.6 kB / 1.39 GB, free: 6.875 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/1.346, allocations: 134.8 kB / 1.39 GB, free: 6.742 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008021/1.347, allocations: 392.3 kB / 1.39 GB, free: 6.285 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/1.347, allocations: 38.55 kB / 1.39 GB, free: 6.238 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 2.375e-06/1.347, allocations: 0 / 1.39 GB, free: 6.238 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001295/1.348, allocations: 409.1 kB / 1.391 GB, free: 5.832 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/1.348, allocations: 55.41 kB / 1.391 GB, free: 5.766 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/1.349, allocations: 268.2 kB / 1.391 GB, free: 5.5 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/1.349, allocations: 33.7 kB / 1.391 GB, free: 5.461 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/1.349, allocations: 176.4 kB / 1.391 GB, free: 5.281 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/1.349, allocations: 63.44 kB / 1.391 GB, free: 5.219 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.079e-05/1.349, allocations: 41.7 kB / 1.391 GB, free: 5.172 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.349, allocations: 338.8 kB / 1.392 GB, free: 4.832 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/1.349, allocations: 103.9 kB / 1.392 GB, free: 4.73 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/1.35, allocations: 165.9 kB / 1.392 GB, free: 4.547 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/1.35, allocations: 271.2 kB / 1.392 GB, free: 4.266 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.35, allocations: 0 / 1.392 GB, free: 4.266 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007434/1.351, allocations: 317.2 kB / 1.393 GB, free: 3.949 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.351, allocations: 4 kB / 1.393 GB, free: 3.945 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.351, allocations: 4 kB / 1.393 GB, free: 3.941 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.351, allocations: 3.938 kB / 1.393 GB, free: 3.938 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/1.351, allocations: 68.05 kB / 1.393 GB, free: 3.871 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/1.351, allocations: 0 / 1.393 GB, free: 3.871 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/1.352, allocations: 43.75 kB / 1.393 GB, free: 3.828 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/1.352, allocations: 8 kB / 1.393 GB, free: 3.82 MB / 1.092 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.0001876/1.352, allocations: 157.7 kB / 1.393 GB, free: 3.656 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/1.352, allocations: 23.86 kB / 1.393 GB, free: 3.633 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008074/1.353, allocations: 321.9 kB / 1.393 GB, free: 3.312 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.353, allocations: 3.938 kB / 1.393 GB, free: 3.309 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/1.353, allocations: 0 / 1.393 GB, free: 3.309 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.353, allocations: 7.922 kB / 1.393 GB, free: 3.301 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/1.355, allocations: 0.9291 MB / 1.394 GB, free: 2.266 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.355, allocations: 8.031 kB / 1.394 GB, free: 2.258 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/1.355, allocations: 51.89 kB / 1.394 GB, free: 2.207 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.355, allocations: 4 kB / 1.394 GB, free: 2.203 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/1.355, allocations: 4 kB / 1.394 GB, free: 2.199 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.355, allocations: 4 kB / 1.394 GB, free: 2.195 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.355, allocations: 0 / 1.394 GB, free: 2.195 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/1.356, allocations: 0.5708 MB / 1.395 GB, free: 1.594 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/1.356, allocations: 128.8 kB / 1.395 GB, free: 1.449 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/1.356, allocations: 4 kB / 1.395 GB, free: 1.445 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/1.356, allocations: 23.97 kB / 1.395 GB, free: 1.422 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/1.357, allocations: 27.97 kB / 1.395 GB, free: 1.395 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/1.357, allocations: 8 kB / 1.395 GB, free: 1.387 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002116/1.357, allocations: 191.1 kB / 1.395 GB, free: 1.203 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.357, allocations: 0 / 1.395 GB, free: 1.203 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005112/1.357, allocations: 111.8 kB / 1.395 GB, free: 1.094 MB / 1.092 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.0005481/1.358, allocations: 202.2 kB / 1.395 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0007761/1.359, allocations: 247.9 kB / 1.396 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.359, allocations: 4.062 kB / 1.396 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000353/1.359, allocations: 131.8 kB / 1.396 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/1.36, allocations: 140 kB / 1.396 GB, free: 400 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/1.361, allocations: 0.6035 MB / 1.397 GB, free: 15.74 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/1.361, allocations: 0.7872 MB / 1.397 GB, free: 14.92 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0002141/1.362, allocations: 62.23 kB / 1.397 GB, free: 14.86 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/1.362, allocations: 31.42 kB / 1.397 GB, free: 14.82 MB / 1.108 GB Notification: Performance of SimCode: time 7.32e-07/1.362, allocations: 0 / 1.397 GB, free: 14.82 MB / 1.108 GB Notification: Performance of Templates: time 0.01377/1.376, allocations: 6.123 MB / 1.403 GB, free: 8.777 MB / 1.108 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.676707789301872]