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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 161.3 kB / 22.75 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.176/3.176, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.148e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2289/0.2289, allocations: 145.7 MB / 1.02 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003546/0.2325, allocations: 1.456 MB / 1.021 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.233, allocations: 11.88 kB / 1.021 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.2337, allocations: 146.9 kB / 1.021 GB, free: 2.641 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.2354, allocations: 489.3 kB / 1.022 GB, free: 2.16 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.2376, allocations: 0.786 MB / 1.023 GB, free: 1.371 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.2388, allocations: 0.6744 MB / 1.023 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005299/0.2393, allocations: 191.2 kB / 1.024 GB, free: 0.5039 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.2409, allocations: 0.5374 MB / 1.024 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.2413, allocations: 203.4 kB / 1.024 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.944e-05/0.2414, allocations: 24 kB / 1.024 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.2428, allocations: 0.7439 MB / 1.025 GB, free: 15 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.243, allocations: 123.6 kB / 1.025 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.2432, allocations: 111.7 kB / 1.025 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.2447, allocations: 0.775 MB / 1.026 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2447, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2447, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.2447, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.9948 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.001359/0.246, allocations: 0.6056 MB / 1.027 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2461, allocations: 12.03 kB / 1.027 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006724/0.2467, allocations: 135.3 kB / 1.027 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.2472, allocations: 246.3 kB / 1.027 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.2473, allocations: 16.5 kB / 1.027 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.2473, allocations: 27.95 kB / 1.027 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.2481, allocations: 357.2 kB / 1.027 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2481, allocations: 0 / 1.027 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.2482, allocations: 12 kB / 1.027 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.2482, allocations: 4 kB / 1.027 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007919/0.249, allocations: 289.7 kB / 1.028 GB, free: 12.23 MB / 0.9948 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.001828/0.2508, allocations: 0.9399 MB / 1.029 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009428/0.2517, allocations: 234.5 kB / 1.029 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.2521, allocations: 128.8 kB / 1.029 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005813/0.2527, allocations: 87.89 kB / 1.029 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.2527, allocations: 38.56 kB / 1.029 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.2527, allocations: 0 / 1.029 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.001359/0.2541, allocations: 407.4 kB / 1.029 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.2541, allocations: 55.41 kB / 1.029 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.2544, allocations: 221.7 kB / 1.03 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.2544, allocations: 29.7 kB / 1.03 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.2546, allocations: 172.3 kB / 1.03 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.2547, allocations: 71.36 kB / 1.03 GB, free: 9.773 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.683e-05/0.2548, allocations: 45.7 kB / 1.03 GB, free: 9.723 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.255, allocations: 338.8 kB / 1.03 GB, free: 9.383 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.2553, allocations: 107.9 kB / 1.03 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.2557, allocations: 241.9 kB / 1.031 GB, free: 9.004 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009461/0.2567, allocations: 271 kB / 1.031 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2567, allocations: 0 / 1.031 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008494/0.2575, allocations: 321.2 kB / 1.031 GB, free: 8.402 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2575, allocations: 8 kB / 1.031 GB, free: 8.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2575, allocations: 0 / 1.031 GB, free: 8.395 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.2576, allocations: 4 kB / 1.031 GB, free: 8.391 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.2579, allocations: 55.95 kB / 1.031 GB, free: 8.336 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.2579, allocations: 7.938 kB / 1.031 GB, free: 8.328 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.2581, allocations: 43.94 kB / 1.031 GB, free: 8.285 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.2582, allocations: 7.938 kB / 1.031 GB, free: 8.277 MB / 0.9948 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.0001741/0.2583, allocations: 145.8 kB / 1.031 GB, free: 8.125 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.2584, allocations: 31.86 kB / 1.031 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008728/0.2593, allocations: 317.5 kB / 1.032 GB, free: 7.785 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2593, allocations: 4 kB / 1.032 GB, free: 7.781 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2593, allocations: 4.062 kB / 1.032 GB, free: 7.777 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2593, allocations: 7.938 kB / 1.032 GB, free: 7.77 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.2609, allocations: 0.7135 MB / 1.032 GB, free: 7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2609, allocations: 0 / 1.032 GB, free: 7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.2612, allocations: 51.89 kB / 1.033 GB, free: 6.949 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.2612, allocations: 7.938 kB / 1.033 GB, free: 6.941 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.2612, allocations: 8 kB / 1.033 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2612, allocations: 0 / 1.033 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2612, allocations: 4 kB / 1.033 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.2625, allocations: 0.5605 MB / 1.033 GB, free: 6.336 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.2626, allocations: 43.78 kB / 1.033 GB, free: 6.293 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.2627, allocations: 15.98 kB / 1.033 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.2629, allocations: 23.98 kB / 1.033 GB, free: 6.254 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.263, allocations: 19.97 kB / 1.033 GB, free: 6.234 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.263, allocations: 8 kB / 1.033 GB, free: 6.227 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001746/0.2632, allocations: 157.2 kB / 1.033 GB, free: 6.07 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.2632, allocations: 0 / 1.033 GB, free: 6.07 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004887/0.2637, allocations: 111.8 kB / 1.033 GB, free: 5.961 MB / 0.9948 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.0004442/0.2641, allocations: 202.9 kB / 1.034 GB, free: 5.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000777/0.2649, allocations: 243.6 kB / 1.034 GB, free: 5.512 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2649, allocations: 0 / 1.034 GB, free: 5.512 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.2653, allocations: 140.4 kB / 1.034 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.266, allocations: 108.8 kB / 1.034 GB, free: 5.273 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2672, allocations: 0.557 MB / 1.035 GB, free: 4.668 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.2674, allocations: 175.1 kB / 1.035 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.2676, allocations: 57.86 kB / 1.035 GB, free: 4.418 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.2677, allocations: 24.5 kB / 1.035 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of SimCode: time 3.81e-07/0.2677, allocations: 0 / 1.035 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of Templates: time 0.01199/0.2797, allocations: 5.342 MB / 1.04 GB, free: 15.16 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.568688284954987]