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.001921/0.001921, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002292/0.002292, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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.58/1.58, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.923/2.923, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 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.004e-06/2.004e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.841e-05/4.042e-05, allocations: 7.125 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2279/0.2279, allocations: 145.7 MB / 0.9531 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003432/0.2313, allocations: 1.489 MB / 0.9546 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.2317, allocations: 11.88 kB / 0.9546 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.2322, allocations: 162.7 kB / 0.9547 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.2336, allocations: 477.5 kB / 0.9552 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.2359, allocations: 0.7899 MB / 0.956 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.2369, allocations: 0.6978 MB / 0.9566 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.2374, allocations: 215.1 kB / 0.9568 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.2386, allocations: 0.5567 MB / 0.9574 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.2389, allocations: 203.4 kB / 0.9576 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.239, allocations: 28 kB / 0.9576 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.2406, allocations: 0.7439 MB / 0.9583 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.2408, allocations: 115.7 kB / 0.9584 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004653/0.2413, allocations: 115.7 kB / 0.9586 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.2427, allocations: 0.7712 MB / 0.9593 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2427, allocations: 0 / 0.9593 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2427, allocations: 0 / 0.9593 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.2427, allocations: 0 / 0.9593 GB, free: 9.543 MB / 0.9167 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.001547/0.2442, allocations: 0.6057 MB / 0.9599 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2443, allocations: 8.031 kB / 0.9599 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006786/0.245, allocations: 143.2 kB / 0.96 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.2455, allocations: 264.6 kB / 0.9603 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.2455, allocations: 16.5 kB / 0.9603 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.2456, allocations: 24 kB / 0.9603 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.2464, allocations: 365.2 kB / 0.9607 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2464, allocations: 0 / 0.9607 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.2464, allocations: 7.984 kB / 0.9607 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.2464, allocations: 12 kB / 0.9607 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007783/0.2472, allocations: 277.8 kB / 0.961 GB, free: 7.77 MB / 0.9167 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.001953/0.2492, allocations: 0.9438 MB / 0.9619 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/0.2501, allocations: 242.5 kB / 0.9621 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.2505, allocations: 126.7 kB / 0.9622 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/0.2511, allocations: 91.89 kB / 0.9623 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.2511, allocations: 30.56 kB / 0.9624 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.854e-06/0.2511, allocations: 4 kB / 0.9624 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.001397/0.2525, allocations: 413.1 kB / 0.9628 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.2526, allocations: 51.41 kB / 0.9628 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.2529, allocations: 221.9 kB / 0.963 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.2529, allocations: 29.7 kB / 0.963 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.2531, allocations: 172.3 kB / 0.9632 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.2532, allocations: 67.38 kB / 0.9633 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.2533, allocations: 53.66 kB / 0.9633 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.2535, allocations: 334.8 kB / 0.9636 GB, free: 4.906 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.2538, allocations: 107.9 kB / 0.9638 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.2543, allocations: 235 kB / 0.964 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/0.255, allocations: 272.2 kB / 0.9642 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.255, allocations: 0 / 0.9642 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008834/0.2559, allocations: 325.2 kB / 0.9645 GB, free: 3.926 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.2559, allocations: 4 kB / 0.9645 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.2559, allocations: 4.062 kB / 0.9646 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/0.256, allocations: 4 kB / 0.9646 GB, free: 3.914 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.2563, allocations: 59.89 kB / 0.9646 GB, free: 3.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.2563, allocations: 4.156 kB / 0.9646 GB, free: 3.852 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.2566, allocations: 35.86 kB / 0.9647 GB, free: 3.816 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.2566, allocations: 15.94 kB / 0.9647 GB, free: 3.801 MB / 0.9167 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.0002055/0.2568, allocations: 149.8 kB / 0.9648 GB, free: 3.645 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.2569, allocations: 31.86 kB / 0.9648 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009074/0.2578, allocations: 317.9 kB / 0.9651 GB, free: 3.297 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2578, allocations: 4 kB / 0.9651 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2578, allocations: 0 / 0.9651 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2578, allocations: 3.984 kB / 0.9651 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.2599, allocations: 0.7124 MB / 0.9658 GB, free: 2.523 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.2599, allocations: 4 kB / 0.9658 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.2602, allocations: 47.97 kB / 0.9659 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.2602, allocations: 3.938 kB / 0.9659 GB, free: 2.469 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.2602, allocations: 4 kB / 0.9659 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.2602, allocations: 16.11 kB / 0.9659 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2602, allocations: 48 / 0.9659 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.2616, allocations: 0.5627 MB / 0.9665 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.2617, allocations: 47.8 kB / 0.9665 GB, free: 1.805 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.2617, allocations: 11.94 kB / 0.9665 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.262, allocations: 23.97 kB / 0.9665 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.2621, allocations: 15.97 kB / 0.9666 GB, free: 1.754 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.2621, allocations: 8 kB / 0.9666 GB, free: 1.746 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001853/0.2623, allocations: 161.2 kB / 0.9667 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.2623, allocations: 0 / 0.9667 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005667/0.2628, allocations: 119.7 kB / 0.9668 GB, free: 1.473 MB / 0.9167 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.0004717/0.2633, allocations: 195 kB / 0.967 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008139/0.2641, allocations: 245.9 kB / 0.9673 GB, free: 1.031 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2641, allocations: 8.312 kB / 0.9673 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.2645, allocations: 131.8 kB / 0.9674 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/0.2653, allocations: 114.8 kB / 0.9675 GB, free: 0.7852 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.2666, allocations: 0.5686 MB / 0.9681 GB, free: 172 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2668, allocations: 178.8 kB / 0.9682 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002255/0.2671, allocations: 57.91 kB / 0.9683 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.2672, allocations: 24.5 kB / 0.9683 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of SimCode: time 7.72e-07/0.2672, allocations: 0 / 0.9683 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of Templates: time 0.01314/0.2803, allocations: 5.527 MB / 0.9737 GB, free: 10.5 MB / 0.9323 GB " [Timeout remaining time 300] 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: 8.66218379396014]