Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002018/0.002018, allocations: 78.72 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002437/0.002437, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.55/1.55, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.92/2.92, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.9815 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.153e-05/4.387e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.9974/0.9975, allocations: 145.7 MB / 1.124 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003452/1.001, allocations: 1.479 MB / 1.125 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/1.001, allocations: 15.91 kB / 1.125 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005925/1.002, allocations: 153.2 kB / 1.125 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/1.004, allocations: 482.5 kB / 1.126 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/1.006, allocations: 0.7914 MB / 1.127 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001176/1.007, allocations: 0.7035 MB / 1.127 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004833/1.008, allocations: 197.5 kB / 1.127 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/1.009, allocations: 0.5603 MB / 1.128 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/1.01, allocations: 201.5 kB / 1.128 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-05/1.01, allocations: 24.88 kB / 1.128 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/1.012, allocations: 0.7405 MB / 1.129 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/1.012, allocations: 121.5 kB / 1.129 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/1.012, allocations: 108.2 kB / 1.129 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/1.014, allocations: 0.7728 MB / 1.13 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.014, allocations: 5.609 kB / 1.13 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/1.014, allocations: 0 / 1.13 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.56e-05/1.014, allocations: 0 / 1.13 GB, free: 13.95 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.001185/1.015, allocations: 0.6091 MB / 1.131 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.015, allocations: 8.938 kB / 1.131 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005263/1.015, allocations: 92.28 kB / 1.131 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/1.016, allocations: 249.4 kB / 1.131 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/1.016, allocations: 19.05 kB / 1.131 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/1.016, allocations: 29.8 kB / 1.131 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/1.017, allocations: 360.9 kB / 1.131 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.017, allocations: 0 / 1.131 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/1.017, allocations: 11.44 kB / 1.131 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.017, allocations: 5.906 kB / 1.131 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008032/1.018, allocations: 284.9 kB / 1.132 GB, free: 13.24 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.001572/1.019, allocations: 0.9326 MB / 1.132 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009469/1.02, allocations: 231.7 kB / 1.133 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/1.021, allocations: 129.6 kB / 1.133 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/1.021, allocations: 87.33 kB / 1.133 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/1.021, allocations: 37.69 kB / 1.133 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/1.021, allocations: 0 / 1.133 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001367/1.022, allocations: 399.8 kB / 1.133 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/1.023, allocations: 58.42 kB / 1.133 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/1.023, allocations: 225.5 kB / 1.134 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/1.023, allocations: 31.08 kB / 1.134 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/1.023, allocations: 173.3 kB / 1.134 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/1.023, allocations: 68.19 kB / 1.134 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/1.023, allocations: 45.42 kB / 1.134 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/1.023, allocations: 337.2 kB / 1.134 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/1.023, allocations: 100.4 kB / 1.134 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/1.024, allocations: 247 kB / 1.135 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/1.025, allocations: 269.8 kB / 1.135 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.025, allocations: 0.5625 kB / 1.135 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007918/1.025, allocations: 312.3 kB / 1.135 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.025, allocations: 9.281 kB / 1.135 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.025, allocations: 5.469 kB / 1.135 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.025, allocations: 6.188 kB / 1.135 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/1.026, allocations: 53.14 kB / 1.135 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.026, allocations: 6.25 kB / 1.135 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/1.026, allocations: 34.92 kB / 1.135 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/1.026, allocations: 12.47 kB / 1.135 GB, free: 11.7 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.0001489/1.026, allocations: 160.2 kB / 1.135 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/1.026, allocations: 27.09 kB / 1.135 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008424/1.027, allocations: 308.5 kB / 1.136 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.027, allocations: 3.016 kB / 1.136 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.027, allocations: 48 / 1.136 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.027, allocations: 5.797 kB / 1.136 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/1.029, allocations: 0.7122 MB / 1.136 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.029, allocations: 2.844 kB / 1.136 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/1.029, allocations: 57.5 kB / 1.136 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.029, allocations: 3.172 kB / 1.136 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/1.029, allocations: 9.906 kB / 1.136 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/1.029, allocations: 6.375 kB / 1.136 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.029, allocations: 2.281 kB / 1.136 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.03, allocations: 0.5567 MB / 1.137 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/1.03, allocations: 42.8 kB / 1.137 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/1.03, allocations: 12.34 kB / 1.137 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/1.03, allocations: 19.44 kB / 1.137 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/1.03, allocations: 23.11 kB / 1.137 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/1.03, allocations: 19.42 kB / 1.137 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001303/1.031, allocations: 159 kB / 1.137 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.031, allocations: 0 / 1.137 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005981/1.031, allocations: 118.8 kB / 1.137 GB, free: 10.89 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.0004206/1.032, allocations: 190.4 kB / 1.138 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007497/1.032, allocations: 245.6 kB / 1.138 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.032, allocations: 1.125 kB / 1.138 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/1.033, allocations: 133.9 kB / 1.138 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/1.033, allocations: 95.83 kB / 1.138 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/1.034, allocations: 0.57 MB / 1.139 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/1.035, allocations: 174.8 kB / 1.139 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000211/1.035, allocations: 61.92 kB / 1.139 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/1.035, allocations: 26.05 kB / 1.139 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.035, allocations: 0 / 1.139 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.01202/1.047, allocations: 5.311 MB / 1.144 GB, free: 9.801 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.767078801989555]