Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001749/0.001749, allocations: 81.27 kB / 19.18 MB, free: 2.531 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.002149/0.002149, allocations: 162.9 kB / 22.46 MB, free: 5.359 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.653/1.653, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.964/2.964, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.174e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1984/0.1984, allocations: 145.7 MB / 1.093 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004336/0.2028, allocations: 1.468 MB / 1.095 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004888/0.2033, allocations: 15.88 kB / 1.095 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.204, allocations: 154.8 kB / 1.095 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.2059, allocations: 485.5 kB / 1.095 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.2091, allocations: 0.7837 MB / 1.096 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.2105, allocations: 0.7134 MB / 1.097 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005928/0.2111, allocations: 199.1 kB / 1.097 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.2121, allocations: 402.8 kB / 1.097 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004561/0.2126, allocations: 207.4 kB / 1.098 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.659e-05/0.2127, allocations: 24 kB / 1.098 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.215, allocations: 0.7633 MB / 1.098 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.2152, allocations: 119.6 kB / 1.098 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.2154, allocations: 107.8 kB / 1.099 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.2174, allocations: 0.7791 MB / 1.099 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2174, allocations: 0 / 1.099 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2174, allocations: 0 / 1.099 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.2174, allocations: 0 / 1.099 GB, free: 3.105 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.001761/0.2192, allocations: 0.6018 MB / 1.1 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.2192, allocations: 11.97 kB / 1.1 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007979/0.22, allocations: 95.56 kB / 1.1 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/0.2207, allocations: 256.6 kB / 1.1 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.2207, allocations: 20.5 kB / 1.1 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.2208, allocations: 20 kB / 1.1 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009701/0.2218, allocations: 361.2 kB / 1.101 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.2218, allocations: 0 / 1.101 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.2218, allocations: 8 kB / 1.101 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2218, allocations: 15.94 kB / 1.101 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.223, allocations: 277.8 kB / 1.101 GB, free: 1.383 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.002349/0.2253, allocations: 0.9283 MB / 1.102 GB, free: 416 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.2266, allocations: 234.6 kB / 1.102 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/0.2271, allocations: 132.7 kB / 1.102 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7216/0.9487, allocations: 80.06 kB / 1.102 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.9488, allocations: 37.88 kB / 1.102 GB, free: 164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.9488, allocations: 0 / 1.102 GB, free: 164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001565/0.9504, allocations: 403.6 kB / 1.103 GB, free: 164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.9504, allocations: 54.12 kB / 1.103 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.9507, allocations: 227.9 kB / 1.103 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.9507, allocations: 30.67 kB / 1.103 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.9508, allocations: 170.9 kB / 1.103 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.9509, allocations: 68.11 kB / 1.103 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.951, allocations: 50.72 kB / 1.103 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.9511, allocations: 335.3 kB / 1.104 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.9514, allocations: 103.9 kB / 1.104 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.9519, allocations: 244.9 kB / 1.104 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007333/0.9526, allocations: 263.3 kB / 1.104 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.9526, allocations: 0.8438 kB / 1.104 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008545/0.9535, allocations: 316.4 kB / 1.104 GB, free: 163 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.9535, allocations: 6.203 kB / 1.104 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.9535, allocations: 5.656 kB / 1.104 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.9535, allocations: 2.469 kB / 1.104 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.9538, allocations: 58.62 kB / 1.105 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.9539, allocations: 3.453 kB / 1.105 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.9541, allocations: 33.67 kB / 1.105 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.9542, allocations: 12.47 kB / 1.105 GB, free: 162.9 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.0001997/0.9544, allocations: 152.6 kB / 1.105 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.9544, allocations: 27.23 kB / 1.105 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009836/0.9554, allocations: 318.1 kB / 1.105 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.9554, allocations: 2.188 kB / 1.105 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9554, allocations: 1.562 kB / 1.105 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.9554, allocations: 2.078 kB / 1.105 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.9572, allocations: 0.7206 MB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9572, allocations: 1.875 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.9575, allocations: 48.95 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.9575, allocations: 3.531 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.9575, allocations: 8.594 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.9575, allocations: 6.531 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9576, allocations: 2.25 kB / 1.106 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.9589, allocations: 0.5463 MB / 1.106 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.959, allocations: 50.27 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.9591, allocations: 7.688 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.9593, allocations: 26.3 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.9594, allocations: 23.89 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.9594, allocations: 11.38 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001855/0.9596, allocations: 158.9 kB / 1.107 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9596, allocations: 0 / 1.107 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000605/0.9602, allocations: 117.8 kB / 1.107 GB, free: 161.8 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.0004531/0.9607, allocations: 199.2 kB / 1.107 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.9616, allocations: 257.4 kB / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9616, allocations: 0 / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.962, allocations: 129.8 kB / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.9627, allocations: 94.17 kB / 1.107 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.964, allocations: 0.568 MB / 1.108 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.9643, allocations: 175.1 kB / 1.108 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.9645, allocations: 65.83 kB / 1.108 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.9646, allocations: 28.48 kB / 1.108 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.9646, allocations: 0 / 1.108 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0142/0.9788, allocations: 5.312 MB / 1.113 GB, free: 160.6 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.679275065660477]