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.001875/0.001875, allocations: 81.5 kB / 19.44 MB, free: 344 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.002057/0.002057, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.48/3.48, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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 2.244e-06/2.244e-06, allocations: 0 / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.076e-05/4.3e-05, allocations: 5.547 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2357/0.2357, allocations: 161.4 MB / 1.035 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.2393, allocations: 1.519 MB / 1.037 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.2395, allocations: 11.88 kB / 1.037 GB, free: 3.164 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.24, allocations: 154.8 kB / 1.037 GB, free: 3.012 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.2413, allocations: 473.5 kB / 1.037 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.2434, allocations: 0.786 MB / 1.038 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009132/0.2443, allocations: 0.6744 MB / 1.039 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.2447, allocations: 191.2 kB / 1.039 GB, free: 0.8906 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.2458, allocations: 0.5528 MB / 1.039 GB, free: 344 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.2462, allocations: 199.4 kB / 1.04 GB, free: 144 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.2462, allocations: 28 kB / 1.04 GB, free: 116 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.2477, allocations: 0.7361 MB / 1.04 GB, free: 15.38 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.2478, allocations: 127.7 kB / 1.04 GB, free: 15.25 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.248, allocations: 111.8 kB / 1.04 GB, free: 15.14 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.2493, allocations: 0.775 MB / 1.041 GB, free: 14.36 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2493, allocations: 0 / 1.041 GB, free: 14.36 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2493, allocations: 0 / 1.041 GB, free: 14.36 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.2493, allocations: 4 kB / 1.041 GB, free: 14.36 MB / 1.01 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.001177/0.2505, allocations: 0.7013 MB / 1.042 GB, free: 13.62 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2505, allocations: 12.03 kB / 1.042 GB, free: 13.61 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005942/0.2511, allocations: 131.3 kB / 1.042 GB, free: 13.48 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.2516, allocations: 261 kB / 1.042 GB, free: 13.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.2517, allocations: 20.5 kB / 1.042 GB, free: 13.18 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.2517, allocations: 20 kB / 1.042 GB, free: 13.16 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/0.2525, allocations: 313.8 kB / 1.043 GB, free: 12.83 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2525, allocations: 0 / 1.043 GB, free: 12.83 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.2525, allocations: 7.938 kB / 1.043 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2526, allocations: 8 kB / 1.043 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.2531, allocations: 189.9 kB / 1.043 GB, free: 12.63 MB / 1.01 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.001869/0.255, allocations: 1.073 MB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.2558, allocations: 187.2 kB / 1.044 GB, free: 11.31 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.256, allocations: 91.64 kB / 1.044 GB, free: 11.21 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.2565, allocations: 79.91 kB / 1.044 GB, free: 11.14 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.2566, allocations: 41.28 kB / 1.044 GB, free: 11.09 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 3.877e-06/0.2566, allocations: 4 kB / 1.044 GB, free: 11.08 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.000993/0.2576, allocations: 299.8 kB / 1.045 GB, free: 10.79 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2576, allocations: 55.34 kB / 1.045 GB, free: 10.72 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.2579, allocations: 300.3 kB / 1.045 GB, free: 10.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.258, allocations: 33.7 kB / 1.045 GB, free: 10.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.2582, allocations: 223 kB / 1.045 GB, free: 10.15 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.2582, allocations: 71.44 kB / 1.045 GB, free: 10.08 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2583, allocations: 59.31 kB / 1.045 GB, free: 10.01 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002844/0.2586, allocations: 0.5157 MB / 1.046 GB, free: 9.484 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.2589, allocations: 67.95 kB / 1.046 GB, free: 9.418 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.2592, allocations: 237.3 kB / 1.046 GB, free: 9.141 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.2597, allocations: 215.9 kB / 1.046 GB, free: 8.906 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2597, allocations: 0 / 1.046 GB, free: 8.906 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006049/0.2603, allocations: 249.3 kB / 1.047 GB, free: 8.656 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2603, allocations: 4 kB / 1.047 GB, free: 8.652 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2603, allocations: 160 / 1.047 GB, free: 8.652 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.2603, allocations: 8 kB / 1.047 GB, free: 8.645 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.2606, allocations: 51.91 kB / 1.047 GB, free: 8.594 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2606, allocations: 4 kB / 1.047 GB, free: 8.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.2608, allocations: 23.88 kB / 1.047 GB, free: 8.566 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.2608, allocations: 11.94 kB / 1.047 GB, free: 8.555 MB / 1.01 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.000181/0.261, allocations: 184.5 kB / 1.047 GB, free: 8.363 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.2611, allocations: 31.86 kB / 1.047 GB, free: 8.332 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.2617, allocations: 241.9 kB / 1.047 GB, free: 8.094 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2617, allocations: 4 kB / 1.047 GB, free: 8.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2617, allocations: 0 / 1.047 GB, free: 8.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2617, allocations: 3.984 kB / 1.047 GB, free: 8.086 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.2632, allocations: 0.7294 MB / 1.048 GB, free: 7.289 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2632, allocations: 4 kB / 1.048 GB, free: 7.285 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.2634, allocations: 43.91 kB / 1.048 GB, free: 7.242 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.2634, allocations: 3.938 kB / 1.048 GB, free: 7.238 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.2635, allocations: 8 kB / 1.048 GB, free: 7.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.2635, allocations: 4 kB / 1.048 GB, free: 7.227 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2635, allocations: 3.938 kB / 1.048 GB, free: 7.223 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009544/0.2644, allocations: 0.5071 MB / 1.048 GB, free: 6.672 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.2645, allocations: 51.7 kB / 1.048 GB, free: 6.621 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.2646, allocations: 7.938 kB / 1.048 GB, free: 6.613 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.2648, allocations: 8.047 kB / 1.048 GB, free: 6.605 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.2648, allocations: 31.88 kB / 1.048 GB, free: 6.574 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.2649, allocations: 8 kB / 1.048 GB, free: 6.566 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001914/0.2651, allocations: 205.1 kB / 1.049 GB, free: 6.367 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2651, allocations: 0 / 1.049 GB, free: 6.367 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004812/0.2655, allocations: 123.7 kB / 1.049 GB, free: 6.246 MB / 1.01 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.0004244/0.266, allocations: 195 kB / 1.049 GB, free: 6.043 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000578/0.2665, allocations: 191.5 kB / 1.049 GB, free: 5.852 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2665, allocations: 0 / 1.049 GB, free: 5.852 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.2668, allocations: 108 kB / 1.049 GB, free: 5.742 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.2675, allocations: 102.6 kB / 1.049 GB, free: 5.641 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2689, allocations: 0.579 MB / 1.05 GB, free: 5.004 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.269, allocations: 159.1 kB / 1.05 GB, free: 4.832 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.2692, allocations: 49.91 kB / 1.05 GB, free: 4.777 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.2693, allocations: 36.48 kB / 1.05 GB, free: 4.742 MB / 1.01 GB Notification: Performance of SimCode: time 5.31e-07/0.2693, allocations: 0 / 1.05 GB, free: 4.742 MB / 1.01 GB Notification: Performance of Templates: time 0.4129/0.6822, allocations: 5.344 MB / 1.055 GB, free: 222 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] 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: 9.564569195965305]