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.0009382/0.0009382, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008362/0.0008362, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8646/0.8646, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.735/1.735, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.493e-06/1.493e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.657e-05, allocations: 6.219 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.6071/0.6071, allocations: 145.7 MB / 1.143 GB, free: 9.082 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.6091, allocations: 1.468 MB / 1.145 GB, free: 8.105 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.6093, allocations: 13.38 kB / 1.145 GB, free: 8.098 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.6097, allocations: 149.6 kB / 1.145 GB, free: 8 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0009113/0.6106, allocations: 475.3 kB / 1.145 GB, free: 7.75 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.6118, allocations: 0.7838 MB / 1.146 GB, free: 7.371 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0005739/0.6123, allocations: 0.6761 MB / 1.147 GB, free: 7.062 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.6126, allocations: 182.9 kB / 1.147 GB, free: 6.984 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007306/0.6133, allocations: 0.5424 MB / 1.147 GB, free: 6.75 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.6135, allocations: 205.7 kB / 1.148 GB, free: 6.684 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.6136, allocations: 25.22 kB / 1.148 GB, free: 6.684 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008402/0.6144, allocations: 0.7455 MB / 1.148 GB, free: 6.422 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.6145, allocations: 121.4 kB / 1.148 GB, free: 6.367 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.6146, allocations: 106.7 kB / 1.149 GB, free: 6.328 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008573/0.6155, allocations: 0.7689 MB / 1.149 GB, free: 6.074 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6155, allocations: 0 / 1.149 GB, free: 6.074 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6155, allocations: 4.797 kB / 1.149 GB, free: 6.07 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.6155, allocations: 1.125 kB / 1.149 GB, free: 6.07 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.0008325/0.6163, allocations: 0.6013 MB / 1.15 GB, free: 5.613 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.6164, allocations: 10.34 kB / 1.15 GB, free: 5.613 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.6167, allocations: 88.53 kB / 1.15 GB, free: 5.586 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.617, allocations: 244.2 kB / 1.15 GB, free: 5.398 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.6171, allocations: 17.81 kB / 1.15 GB, free: 5.391 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.6171, allocations: 19.47 kB / 1.15 GB, free: 5.387 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.6176, allocations: 360 kB / 1.151 GB, free: 5.219 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6176, allocations: 0.75 kB / 1.151 GB, free: 5.219 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.6176, allocations: 10.66 kB / 1.151 GB, free: 5.211 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.6176, allocations: 6 kB / 1.151 GB, free: 5.211 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.6181, allocations: 288.7 kB / 1.151 GB, free: 5.133 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.00112/0.6192, allocations: 0.9281 MB / 1.152 GB, free: 4.512 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.6197, allocations: 240.8 kB / 1.152 GB, free: 4.43 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.6199, allocations: 124 kB / 1.152 GB, free: 4.395 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.6202, allocations: 90.31 kB / 1.152 GB, free: 4.387 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.6202, allocations: 33.17 kB / 1.152 GB, free: 4.348 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.6202, allocations: 0 / 1.152 GB, free: 4.348 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.0007565/0.621, allocations: 405.6 kB / 1.153 GB, free: 4.219 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.621, allocations: 54.27 kB / 1.153 GB, free: 4.156 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.6212, allocations: 220.1 kB / 1.153 GB, free: 4.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.6212, allocations: 31.89 kB / 1.153 GB, free: 3.984 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.6213, allocations: 173.1 kB / 1.153 GB, free: 3.832 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.6213, allocations: 73.52 kB / 1.153 GB, free: 3.773 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.6214, allocations: 47.16 kB / 1.153 GB, free: 3.742 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.6215, allocations: 335.3 kB / 1.153 GB, free: 3.418 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.6217, allocations: 103.8 kB / 1.154 GB, free: 3.395 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.6219, allocations: 241.8 kB / 1.154 GB, free: 3.219 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.6223, allocations: 276.5 kB / 1.154 GB, free: 3.098 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6223, allocations: 0 / 1.154 GB, free: 3.098 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000454/0.6227, allocations: 314.8 kB / 1.154 GB, free: 2.98 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.6228, allocations: 7.938 kB / 1.154 GB, free: 2.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6228, allocations: 2.859 kB / 1.154 GB, free: 2.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6228, allocations: 6.406 kB / 1.154 GB, free: 2.977 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.6229, allocations: 53.03 kB / 1.154 GB, free: 2.977 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6229, allocations: 6.75 kB / 1.154 GB, free: 2.973 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.623, allocations: 34.3 kB / 1.154 GB, free: 2.961 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.6231, allocations: 7.641 kB / 1.155 GB, free: 2.961 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.0001062/0.6232, allocations: 155.1 kB / 1.155 GB, free: 2.824 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.6232, allocations: 26.3 kB / 1.155 GB, free: 2.809 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.6237, allocations: 317.2 kB / 1.155 GB, free: 2.691 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.6237, allocations: 2.219 kB / 1.155 GB, free: 2.691 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6237, allocations: 0 / 1.155 GB, free: 2.691 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6237, allocations: 2.562 kB / 1.155 GB, free: 2.691 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009099/0.6246, allocations: 0.7111 MB / 1.156 GB, free: 2.266 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6246, allocations: 2.938 kB / 1.156 GB, free: 2.266 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.6248, allocations: 61.5 kB / 1.156 GB, free: 2.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6248, allocations: 3.562 kB / 1.156 GB, free: 2.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.6248, allocations: 6.594 kB / 1.156 GB, free: 2.246 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6248, allocations: 3.719 kB / 1.156 GB, free: 2.246 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6248, allocations: 1.406 kB / 1.156 GB, free: 2.246 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.6254, allocations: 0.5494 MB / 1.156 GB, free: 1.949 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/0.6255, allocations: 54.95 kB / 1.156 GB, free: 1.918 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.6255, allocations: 8.281 kB / 1.156 GB, free: 1.914 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.6256, allocations: 21.56 kB / 1.156 GB, free: 1.91 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.6257, allocations: 19.91 kB / 1.156 GB, free: 1.906 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.6257, allocations: 6.844 kB / 1.156 GB, free: 1.906 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.959e-05/0.6258, allocations: 161.7 kB / 1.157 GB, free: 1.805 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6258, allocations: 0 / 1.157 GB, free: 1.805 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003017/0.6261, allocations: 120.2 kB / 1.157 GB, free: 1.77 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.0003185/0.6264, allocations: 193.5 kB / 1.157 GB, free: 1.645 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.6269, allocations: 248.3 kB / 1.157 GB, free: 1.586 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6269, allocations: 1.344 kB / 1.157 GB, free: 1.586 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.6271, allocations: 136.6 kB / 1.157 GB, free: 1.547 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.6275, allocations: 89.36 kB / 1.157 GB, free: 1.523 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.6283, allocations: 0.5895 MB / 1.158 GB, free: 1.121 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.6284, allocations: 177.7 kB / 1.158 GB, free: 1.031 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.6285, allocations: 25.55 kB / 1.158 GB, free: 1.023 MB / 1.01 GB Notification: Performance of SimCode: time 4.61e-07/0.6285, allocations: 0.875 kB / 1.158 GB, free: 1.023 MB / 1.01 GB Notification: Performance of Templates: time 0.006173/0.6347, allocations: 4.788 MB / 1.163 GB, free: 0.5352 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 800] 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: 7.757854960858822]