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.001962/0.001962, allocations: 87.67 kB / 20.24 MB, free: 4.168 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.002061/0.002061, allocations: 161.8 kB / 23.55 MB, free: 0.8594 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.613/1.613, allocations: 177.1 MB / 203.9 MB, free: 5.609 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 3.107/3.107, allocations: 377.8 MB / 0.6232 GB, free: 8.508 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 1.673e-06/1.673e-06, allocations: 0 / 0.8108 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.336e-05, allocations: 4.984 kB / 0.8108 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2484/0.2484, allocations: 161.4 MB / 0.9684 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003869/0.2523, allocations: 1.554 MB / 0.97 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.2527, allocations: 19.88 kB / 0.97 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.2533, allocations: 158.8 kB / 0.9701 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.2548, allocations: 481.5 kB / 0.9706 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.2572, allocations: 0.7821 MB / 0.9713 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.2583, allocations: 0.6978 MB / 0.972 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008102/0.2591, allocations: 219 kB / 0.9722 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.2605, allocations: 0.5568 MB / 0.9728 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.2608, allocations: 199.4 kB / 0.973 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/0.2609, allocations: 24 kB / 0.973 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2624, allocations: 0.7478 MB / 0.9737 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.2625, allocations: 123.6 kB / 0.9738 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.2627, allocations: 119.7 kB / 0.974 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.2641, allocations: 0.7712 MB / 0.9747 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2641, allocations: 0 / 0.9747 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2641, allocations: 0 / 0.9747 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2641, allocations: 0 / 0.9747 GB, free: 8.562 MB / 0.8855 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.001336/0.2654, allocations: 0.7091 MB / 0.9754 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.2655, allocations: 12.03 kB / 0.9754 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006383/0.2661, allocations: 135.3 kB / 0.9755 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.2667, allocations: 263.4 kB / 0.9758 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.2667, allocations: 16.5 kB / 0.9758 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/0.2668, allocations: 31.94 kB / 0.9758 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.2674, allocations: 305.8 kB / 0.9761 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2674, allocations: 0 / 0.9761 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.2675, allocations: 8 kB / 0.9761 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.2675, allocations: 8 kB / 0.9761 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005476/0.268, allocations: 185.8 kB / 0.9763 GB, free: 6.824 MB / 0.8855 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.002042/0.2701, allocations: 1.081 MB / 0.9774 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008327/0.2709, allocations: 199 kB / 0.9776 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.2711, allocations: 95.59 kB / 0.9777 GB, free: 5.387 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005451/0.2717, allocations: 75.92 kB / 0.9777 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.2717, allocations: 37.39 kB / 0.9778 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.2717, allocations: 4 kB / 0.9778 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.00105/0.2728, allocations: 307.8 kB / 0.9781 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.2728, allocations: 51.41 kB / 0.9781 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.2732, allocations: 300.3 kB / 0.9784 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.2732, allocations: 29.7 kB / 0.9784 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.2734, allocations: 235 kB / 0.9787 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/0.2735, allocations: 71.39 kB / 0.9787 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2736, allocations: 55.36 kB / 0.9788 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0006093/0.2742, allocations: 0.5196 MB / 0.9793 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.2744, allocations: 67.95 kB / 0.9793 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.2748, allocations: 228.3 kB / 0.9796 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.2753, allocations: 213.9 kB / 0.9798 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2753, allocations: 0 / 0.9798 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006373/0.2759, allocations: 255.7 kB / 0.98 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.276, allocations: 4 kB / 0.98 GB, free: 2.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.276, allocations: 4.156 kB / 0.98 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.276, allocations: 4 kB / 0.98 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.2762, allocations: 47.91 kB / 0.9801 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2762, allocations: 4 kB / 0.9801 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.2764, allocations: 31.94 kB / 0.9801 GB, free: 2.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.2765, allocations: 15.94 kB / 0.9801 GB, free: 2.715 MB / 0.8855 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.0001867/0.2767, allocations: 176.6 kB / 0.9803 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.2767, allocations: 31.8 kB / 0.9803 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006685/0.2774, allocations: 247.6 kB / 0.9806 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2774, allocations: 0 / 0.9806 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2774, allocations: 0 / 0.9806 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2774, allocations: 3.938 kB / 0.9806 GB, free: 2.246 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.279, allocations: 0.7403 MB / 0.9813 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.279, allocations: 0 / 0.9813 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.2792, allocations: 43.91 kB / 0.9813 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.2792, allocations: 7.938 kB / 0.9813 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.2792, allocations: 8 kB / 0.9813 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2792, allocations: 0 / 0.9813 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.2792, allocations: 4 kB / 0.9813 GB, free: 1.379 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2803, allocations: 0.5196 MB / 0.9818 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.2804, allocations: 35.84 kB / 0.9819 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.2804, allocations: 11.92 kB / 0.9819 GB, free: 0.7695 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2806, allocations: 12 kB / 0.9819 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.2807, allocations: 19.97 kB / 0.9819 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.2807, allocations: 11.98 kB / 0.9819 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002107/0.2809, allocations: 205.1 kB / 0.9821 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.2809, allocations: 0 / 0.9821 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005138/0.2815, allocations: 123.7 kB / 0.9822 GB, free: 416 kB / 0.8855 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.000435/0.2819, allocations: 194.9 kB / 0.9824 GB, free: 212 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006046/0.2825, allocations: 191.5 kB / 0.9826 GB, free: 16 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2825, allocations: 0 / 0.9826 GB, free: 16 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.2828, allocations: 111.9 kB / 0.9827 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007626/0.2836, allocations: 119.3 kB / 0.9828 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.2848, allocations: 0.5596 MB / 0.9834 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.285, allocations: 174.8 kB / 0.9836 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.2852, allocations: 61.83 kB / 0.9836 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.2853, allocations: 28.48 kB / 0.9836 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of SimCode: time 8.72e-07/0.2853, allocations: 3.938 kB / 0.9836 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of Templates: time 0.01347/0.2988, allocations: 5.52 MB / 0.989 GB, free: 9.508 MB / 0.9011 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 240] 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.738339807023294]