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.001449/0.001449, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001691/0.001691, allocations: 218.7 kB / 23.01 MB, free: 4.609 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 2.982/2.982, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.002093/0.002093, allocations: 63.31 kB / 1.178 GB, free: 16.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3068, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1843/0.4911, allocations: 168.9 MB / 1.519 GB, free: 14.42 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00276/0.4939, allocations: 1.554 MB / 1.521 GB, free: 12.86 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.4941, allocations: 15.88 kB / 1.521 GB, free: 12.85 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.4945, allocations: 146.9 kB / 1.521 GB, free: 12.7 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.4957, allocations: 0.4901 MB / 1.521 GB, free: 12.21 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.4974, allocations: 0.7857 MB / 1.522 GB, free: 11.43 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0008062/0.4982, allocations: 0.7215 MB / 1.523 GB, free: 10.7 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.4985, allocations: 211 kB / 1.523 GB, free: 10.49 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008553/0.4994, allocations: 486.3 kB / 1.523 GB, free: 10.02 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.4997, allocations: 231.1 kB / 1.524 GB, free: 9.789 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.4997, allocations: 31.94 kB / 1.524 GB, free: 9.758 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.5012, allocations: 0.9237 MB / 1.524 GB, free: 8.832 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.5013, allocations: 115.6 kB / 1.525 GB, free: 8.719 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.5015, allocations: 159.2 kB / 1.525 GB, free: 8.562 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.5025, allocations: 0.7476 MB / 1.525 GB, free: 7.812 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5025, allocations: 4 kB / 1.525 GB, free: 7.809 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5025, allocations: 0 / 1.525 GB, free: 7.809 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5025, allocations: 3.938 kB / 1.525 GB, free: 7.805 MB / 1.217 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.001066/0.5036, allocations: 0.6057 MB / 1.526 GB, free: 7.168 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.5036, allocations: 8.031 kB / 1.526 GB, free: 7.16 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/0.5041, allocations: 95.64 kB / 1.526 GB, free: 7.066 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.5045, allocations: 260 kB / 1.526 GB, free: 6.789 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5045, allocations: 20.5 kB / 1.526 GB, free: 6.77 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.5046, allocations: 20 kB / 1.526 GB, free: 6.75 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.5052, allocations: 327.4 kB / 1.527 GB, free: 6.41 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5052, allocations: 3.938 kB / 1.527 GB, free: 6.406 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.5053, allocations: 12 kB / 1.527 GB, free: 6.395 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.5053, allocations: 7.938 kB / 1.527 GB, free: 6.387 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.506, allocations: 289.5 kB / 1.527 GB, free: 6.102 MB / 1.217 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.001648/0.5076, allocations: 1.025 MB / 1.528 GB, free: 5.02 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008295/0.5084, allocations: 238.6 kB / 1.528 GB, free: 4.777 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.5087, allocations: 120.8 kB / 1.528 GB, free: 4.656 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005345/0.5093, allocations: 91.88 kB / 1.528 GB, free: 4.566 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.5093, allocations: 38.56 kB / 1.529 GB, free: 4.52 MB / 1.217 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.5093, allocations: 0 / 1.529 GB, free: 4.52 MB / 1.217 GB Notification: Performance of matching and sorting (n=19): time 0.001174/0.5105, allocations: 412.8 kB / 1.529 GB, free: 4.113 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.5105, allocations: 59.41 kB / 1.529 GB, free: 4.043 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.5108, allocations: 268.2 kB / 1.529 GB, free: 3.77 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.5108, allocations: 29.7 kB / 1.529 GB, free: 3.734 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.511, allocations: 172.4 kB / 1.529 GB, free: 3.562 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.511, allocations: 63.44 kB / 1.529 GB, free: 3.5 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.5111, allocations: 45.7 kB / 1.53 GB, free: 3.449 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5113, allocations: 334.8 kB / 1.53 GB, free: 3.113 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.5116, allocations: 107.9 kB / 1.53 GB, free: 3.008 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.5119, allocations: 166.7 kB / 1.53 GB, free: 2.824 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.5125, allocations: 272.9 kB / 1.53 GB, free: 2.539 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5125, allocations: 0 / 1.53 GB, free: 2.539 MB / 1.217 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007187/0.5132, allocations: 314.9 kB / 1.531 GB, free: 2.227 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5132, allocations: 8.094 kB / 1.531 GB, free: 2.219 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5132, allocations: 8 kB / 1.531 GB, free: 2.211 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5133, allocations: 3.938 kB / 1.531 GB, free: 2.207 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.5135, allocations: 59.89 kB / 1.531 GB, free: 2.148 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.5135, allocations: 3.984 kB / 1.531 GB, free: 2.145 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.5138, allocations: 43.75 kB / 1.531 GB, free: 2.102 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.5138, allocations: 16.06 kB / 1.531 GB, free: 2.086 MB / 1.217 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.0001692/0.514, allocations: 166.3 kB / 1.531 GB, free: 1.914 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.514, allocations: 23.86 kB / 1.531 GB, free: 1.891 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007658/0.5148, allocations: 315.4 kB / 1.531 GB, free: 1.574 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.5148, allocations: 3.938 kB / 1.531 GB, free: 1.57 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5148, allocations: 3.984 kB / 1.531 GB, free: 1.566 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5148, allocations: 4 kB / 1.531 GB, free: 1.562 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.5164, allocations: 0.828 MB / 1.532 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5164, allocations: 4 kB / 1.532 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.5166, allocations: 51.89 kB / 1.532 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5166, allocations: 0 / 1.532 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.5166, allocations: 8 kB / 1.532 GB, free: 0.5938 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.5166, allocations: 8.188 kB / 1.532 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5166, allocations: 0 / 1.532 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.5177, allocations: 0.56 MB / 1.533 GB, free: 15.99 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.5178, allocations: 51.7 kB / 1.533 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.5179, allocations: 12.05 kB / 1.533 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.5181, allocations: 23.98 kB / 1.533 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.5181, allocations: 19.95 kB / 1.533 GB, free: 15.89 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.5182, allocations: 15.97 kB / 1.533 GB, free: 15.87 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0001879/0.5184, allocations: 195.1 kB / 1.533 GB, free: 15.68 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5184, allocations: 3.938 kB / 1.533 GB, free: 15.68 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00043/0.5188, allocations: 107.8 kB / 1.533 GB, free: 15.57 MB / 1.232 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.0003498/0.5191, allocations: 187 kB / 1.533 GB, free: 15.38 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0006833/0.5198, allocations: 249.8 kB / 1.534 GB, free: 15.14 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5198, allocations: 0 / 1.534 GB, free: 15.14 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.5202, allocations: 135.8 kB / 1.534 GB, free: 15.01 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.5209, allocations: 126 kB / 1.534 GB, free: 14.88 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.522, allocations: 0.652 MB / 1.534 GB, free: 14.18 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.5224, allocations: 0.7832 MB / 1.535 GB, free: 13.37 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.722e-05/0.5225, allocations: 31.44 kB / 1.535 GB, free: 13.34 MB / 1.232 GB Notification: Performance of SimCode: time 3.6e-07/0.5225, allocations: 0 / 1.535 GB, free: 13.34 MB / 1.232 GB Notification: Performance of Templates: time 0.008019/0.5305, allocations: 5.18 MB / 1.54 GB, free: 8.199 MB / 1.232 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/jenkins1/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: 11.269044246000703]