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.00136/0.00136, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001558/0.001558, allocations: 219.4 kB / 22.99 MB, free: 4.914 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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 3.18/3.18, allocations: 0.4892 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] 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.002117/0.002117, allocations: 73.45 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3183, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1824/0.5007, allocations: 145.8 MB / 1.469 GB, free: 15.53 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003177/0.5039, allocations: 1.478 MB / 1.47 GB, free: 14.05 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.5043, allocations: 15.88 kB / 1.47 GB, free: 14.04 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.5048, allocations: 146.9 kB / 1.47 GB, free: 13.89 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.5063, allocations: 481.8 kB / 1.471 GB, free: 13.42 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.5084, allocations: 0.7585 MB / 1.471 GB, free: 12.66 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009943/0.5093, allocations: 0.7136 MB / 1.472 GB, free: 11.94 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/0.5098, allocations: 207.1 kB / 1.472 GB, free: 11.73 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.5109, allocations: 482.3 kB / 1.473 GB, free: 11.26 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.5112, allocations: 231 kB / 1.473 GB, free: 11.04 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.5113, allocations: 28 kB / 1.473 GB, free: 11.01 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.5128, allocations: 0.7286 MB / 1.474 GB, free: 10.28 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.5129, allocations: 115.7 kB / 1.474 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.5131, allocations: 131.4 kB / 1.474 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.5146, allocations: 0.7204 MB / 1.475 GB, free: 9.312 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5146, allocations: 0 / 1.475 GB, free: 9.312 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5146, allocations: 0 / 1.475 GB, free: 9.312 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.5146, allocations: 7.938 kB / 1.475 GB, free: 9.305 MB / 1.17 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.001383/0.516, allocations: 0.6095 MB / 1.475 GB, free: 8.664 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.516, allocations: 8.031 kB / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000554/0.5166, allocations: 83.69 kB / 1.475 GB, free: 8.574 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.5171, allocations: 260.2 kB / 1.476 GB, free: 8.289 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.5171, allocations: 20.5 kB / 1.476 GB, free: 8.27 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.5172, allocations: 23.94 kB / 1.476 GB, free: 8.246 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.5179, allocations: 361.1 kB / 1.476 GB, free: 7.875 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.5179, allocations: 3.938 kB / 1.476 GB, free: 7.871 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.518, allocations: 11.98 kB / 1.476 GB, free: 7.859 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.518, allocations: 11.94 kB / 1.476 GB, free: 7.848 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007462/0.5187, allocations: 285.5 kB / 1.476 GB, free: 7.57 MB / 1.17 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.00177/0.5205, allocations: 0.92 MB / 1.477 GB, free: 6.602 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009134/0.5214, allocations: 235.9 kB / 1.477 GB, free: 6.363 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.5217, allocations: 128.8 kB / 1.478 GB, free: 6.234 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/0.5223, allocations: 83.91 kB / 1.478 GB, free: 6.152 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.5223, allocations: 38.56 kB / 1.478 GB, free: 6.105 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.984e-06/0.5223, allocations: 0 / 1.478 GB, free: 6.105 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001281/0.5236, allocations: 403.1 kB / 1.478 GB, free: 5.707 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.5237, allocations: 63.28 kB / 1.478 GB, free: 5.633 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.5239, allocations: 217.1 kB / 1.478 GB, free: 5.414 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.5239, allocations: 33.7 kB / 1.478 GB, free: 5.375 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.5241, allocations: 172.2 kB / 1.479 GB, free: 5.203 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.5242, allocations: 71.42 kB / 1.479 GB, free: 5.133 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.5242, allocations: 49.7 kB / 1.479 GB, free: 5.078 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5244, allocations: 330.8 kB / 1.479 GB, free: 4.746 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.5247, allocations: 103.9 kB / 1.479 GB, free: 4.645 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000432/0.5252, allocations: 237 kB / 1.479 GB, free: 4.375 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/0.5258, allocations: 270.7 kB / 1.48 GB, free: 4.094 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.5258, allocations: 0 / 1.48 GB, free: 4.094 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008229/0.5267, allocations: 317.2 kB / 1.48 GB, free: 3.777 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5267, allocations: 4 kB / 1.48 GB, free: 3.773 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5267, allocations: 0 / 1.48 GB, free: 3.773 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5267, allocations: 8.094 kB / 1.48 GB, free: 3.766 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.527, allocations: 59.95 kB / 1.48 GB, free: 3.707 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.527, allocations: 7.938 kB / 1.48 GB, free: 3.699 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.5273, allocations: 39.81 kB / 1.48 GB, free: 3.66 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.5273, allocations: 8.047 kB / 1.48 GB, free: 3.652 MB / 1.17 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.0001846/0.5275, allocations: 157.7 kB / 1.48 GB, free: 3.488 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.5276, allocations: 27.84 kB / 1.48 GB, free: 3.461 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008359/0.5284, allocations: 317 kB / 1.48 GB, free: 3.145 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5284, allocations: 4 kB / 1.48 GB, free: 3.141 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5284, allocations: 3.938 kB / 1.48 GB, free: 3.137 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5284, allocations: 0 / 1.48 GB, free: 3.137 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.53, allocations: 0.7081 MB / 1.481 GB, free: 2.375 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.53, allocations: 8.062 kB / 1.481 GB, free: 2.367 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.5303, allocations: 56.14 kB / 1.481 GB, free: 2.312 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5303, allocations: 0 / 1.481 GB, free: 2.312 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.5303, allocations: 4 kB / 1.481 GB, free: 2.309 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.5304, allocations: 7.938 kB / 1.481 GB, free: 2.301 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5304, allocations: 3.938 kB / 1.481 GB, free: 2.297 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.5315, allocations: 0.5641 MB / 1.482 GB, free: 1.699 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.5317, allocations: 51.81 kB / 1.482 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.5317, allocations: 3.984 kB / 1.482 GB, free: 1.645 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.5319, allocations: 19.98 kB / 1.482 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.532, allocations: 19.97 kB / 1.482 GB, free: 1.605 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.532, allocations: 11.98 kB / 1.482 GB, free: 1.594 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001646/0.5322, allocations: 160.5 kB / 1.482 GB, free: 1.434 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5322, allocations: 4 kB / 1.482 GB, free: 1.43 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004956/0.5327, allocations: 115.6 kB / 1.482 GB, free: 1.316 MB / 1.17 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.0004111/0.5331, allocations: 186.9 kB / 1.482 GB, free: 1.125 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007866/0.5339, allocations: 247.9 kB / 1.483 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5339, allocations: 7.938 kB / 1.483 GB, free: 0.875 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.5343, allocations: 135.8 kB / 1.483 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.535, allocations: 98.64 kB / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.5362, allocations: 0.6326 MB / 1.483 GB, free: 15.97 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.5364, allocations: 171.1 kB / 1.484 GB, free: 15.78 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.5365, allocations: 27.44 kB / 1.484 GB, free: 15.75 MB / 1.186 GB Notification: Performance of SimCode: time 8.82e-07/0.5365, allocations: 0 / 1.484 GB, free: 15.75 MB / 1.186 GB Notification: Performance of Templates: time 0.009173/0.5457, allocations: 4.866 MB / 1.488 GB, free: 10.92 MB / 1.186 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 -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: 12.315972538199276]