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.001702/0.001702, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.002285/0.002285, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.488/1.488, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.902/2.902, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 63.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9964/0.9986, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1988/1.197, allocations: 145.7 MB / 1.296 GB, free: 15.2 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00356/1.201, allocations: 1.476 MB / 1.298 GB, free: 14.21 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003643/1.201, allocations: 15.53 kB / 1.298 GB, free: 14.2 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005778/1.202, allocations: 152.6 kB / 1.298 GB, free: 14.1 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001525/1.203, allocations: 466.1 kB / 1.298 GB, free: 13.86 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/1.206, allocations: 0.7614 MB / 1.299 GB, free: 13.5 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001133/1.207, allocations: 0.7148 MB / 1.3 GB, free: 13.18 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/1.207, allocations: 214.7 kB / 1.3 GB, free: 13.09 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/1.209, allocations: 482 kB / 1.3 GB, free: 12.88 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/1.209, allocations: 227 kB / 1.301 GB, free: 12.77 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/1.209, allocations: 25.38 kB / 1.301 GB, free: 12.77 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/1.211, allocations: 0.7346 MB / 1.301 GB, free: 12.38 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/1.211, allocations: 116.3 kB / 1.301 GB, free: 12.3 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/1.211, allocations: 135.2 kB / 1.302 GB, free: 12.22 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/1.212, allocations: 0.7213 MB / 1.302 GB, free: 11.8 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.212, allocations: 1.094 kB / 1.302 GB, free: 11.8 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.623e-06/1.212, allocations: 0 / 1.302 GB, free: 11.8 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.625e-06/1.212, allocations: 0 / 1.302 GB, free: 11.8 MB / 1.154 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.001205/1.213, allocations: 0.6138 MB / 1.303 GB, free: 11.29 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/1.213, allocations: 12.25 kB / 1.303 GB, free: 11.28 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/1.214, allocations: 85.44 kB / 1.303 GB, free: 11.24 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/1.214, allocations: 250.7 kB / 1.303 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.215, allocations: 17.84 kB / 1.303 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/1.215, allocations: 24.84 kB / 1.303 GB, free: 11.01 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/1.215, allocations: 352.6 kB / 1.304 GB, free: 10.78 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.215, allocations: 1.125 kB / 1.304 GB, free: 10.78 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/1.215, allocations: 13.81 kB / 1.304 GB, free: 10.77 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/1.215, allocations: 9.75 kB / 1.304 GB, free: 10.76 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007768/1.216, allocations: 283.2 kB / 1.304 GB, free: 10.64 MB / 1.154 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.001683/1.218, allocations: 0.9278 MB / 1.305 GB, free: 9.898 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/1.219, allocations: 236.5 kB / 1.305 GB, free: 9.777 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/1.219, allocations: 131.1 kB / 1.305 GB, free: 9.711 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005587/1.22, allocations: 93.34 kB / 1.305 GB, free: 9.672 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.22, allocations: 32.72 kB / 1.305 GB, free: 9.633 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/1.22, allocations: 3.938 kB / 1.305 GB, free: 9.629 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.00128/1.221, allocations: 405.1 kB / 1.306 GB, free: 9.43 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1.221, allocations: 61.55 kB / 1.306 GB, free: 9.359 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/1.221, allocations: 215.2 kB / 1.306 GB, free: 9.199 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/1.221, allocations: 35.25 kB / 1.306 GB, free: 9.16 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/1.221, allocations: 172.7 kB / 1.306 GB, free: 9.004 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/1.222, allocations: 74.14 kB / 1.306 GB, free: 8.938 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/1.222, allocations: 44.14 kB / 1.306 GB, free: 8.906 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.222, allocations: 333 kB / 1.307 GB, free: 8.578 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/1.222, allocations: 107.7 kB / 1.307 GB, free: 8.527 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/1.223, allocations: 241.8 kB / 1.307 GB, free: 8.32 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/1.223, allocations: 267.3 kB / 1.307 GB, free: 8.16 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.223, allocations: 0 / 1.307 GB, free: 8.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007917/1.224, allocations: 320.6 kB / 1.307 GB, free: 7.992 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.224, allocations: 6.344 kB / 1.307 GB, free: 7.992 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.224, allocations: 1.25 kB / 1.307 GB, free: 7.992 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.224, allocations: 2.562 kB / 1.307 GB, free: 7.992 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/1.224, allocations: 57.02 kB / 1.308 GB, free: 7.977 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.224, allocations: 10.47 kB / 1.308 GB, free: 7.969 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/1.225, allocations: 35.08 kB / 1.308 GB, free: 7.949 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/1.225, allocations: 11.44 kB / 1.308 GB, free: 7.945 MB / 1.154 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.0001672/1.225, allocations: 154.5 kB / 1.308 GB, free: 7.805 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/1.225, allocations: 25.56 kB / 1.308 GB, free: 7.789 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000829/1.226, allocations: 316.4 kB / 1.308 GB, free: 7.605 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.226, allocations: 1.906 kB / 1.308 GB, free: 7.605 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.226, allocations: 3.938 kB / 1.308 GB, free: 7.602 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.226, allocations: 1.062 kB / 1.308 GB, free: 7.602 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/1.227, allocations: 0.7142 MB / 1.309 GB, free: 7.066 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.227, allocations: 2.188 kB / 1.309 GB, free: 7.066 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/1.227, allocations: 50.98 kB / 1.309 GB, free: 7.051 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/1.227, allocations: 2.625 kB / 1.309 GB, free: 7.051 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/1.228, allocations: 7.969 kB / 1.309 GB, free: 7.047 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.228, allocations: 6.25 kB / 1.309 GB, free: 7.043 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.228, allocations: 2.312 kB / 1.309 GB, free: 7.043 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/1.229, allocations: 0.5635 MB / 1.309 GB, free: 6.656 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.229, allocations: 38.56 kB / 1.309 GB, free: 6.633 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/1.229, allocations: 7.328 kB / 1.309 GB, free: 6.629 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/1.229, allocations: 19.27 kB / 1.309 GB, free: 6.621 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/1.229, allocations: 24.5 kB / 1.309 GB, free: 6.605 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/1.229, allocations: 10.62 kB / 1.309 GB, free: 6.602 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001513/1.229, allocations: 163.2 kB / 1.31 GB, free: 6.484 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.229, allocations: 0 / 1.31 GB, free: 6.484 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005142/1.23, allocations: 121.2 kB / 1.31 GB, free: 6.445 MB / 1.154 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.000354/1.23, allocations: 186.6 kB / 1.31 GB, free: 6.312 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000768/1.231, allocations: 249.9 kB / 1.31 GB, free: 6.203 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.231, allocations: 4.062 kB / 1.31 GB, free: 6.199 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003768/1.231, allocations: 140.6 kB / 1.31 GB, free: 6.137 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006656/1.232, allocations: 105.6 kB / 1.31 GB, free: 6.078 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.233, allocations: 0.6033 MB / 1.311 GB, free: 5.641 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/1.233, allocations: 174.1 kB / 1.311 GB, free: 5.516 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000211/1.234, allocations: 56.66 kB / 1.311 GB, free: 5.488 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/1.234, allocations: 28.34 kB / 1.311 GB, free: 5.477 MB / 1.154 GB Notification: Performance of SimCode: time 7.61e-07/1.234, allocations: 0 / 1.311 GB, free: 5.477 MB / 1.154 GB Notification: Performance of Templates: time 0.01128/1.245, allocations: 5.319 MB / 1.316 GB, free: 2.047 MB / 1.154 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 -s ida -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/jenkins1/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.550185917993076]