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.001982/0.001982, allocations: 107.4 kB / 16.45 MB, free: 6.5 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.002656/0.002656, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.59/1.59, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.399/3.399, allocations: 0.4899 GB / 0.7916 GB, free: 33.53 MB / 0.6231 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.002098/0.002098, allocations: 69.41 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.2172/0.5787, allocations: 168.7 MB / 1.486 GB, free: 9.477 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003767/0.5825, allocations: 1.543 MB / 1.488 GB, free: 7.93 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006046/0.5831, allocations: 15.88 kB / 1.488 GB, free: 7.914 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.5837, allocations: 150.9 kB / 1.488 GB, free: 7.766 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.5853, allocations: 481.8 kB / 1.488 GB, free: 7.293 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.5876, allocations: 0.7678 MB / 1.489 GB, free: 6.523 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.5888, allocations: 0.7058 MB / 1.49 GB, free: 5.812 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005046/0.5893, allocations: 226.6 kB / 1.49 GB, free: 5.594 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.5904, allocations: 478.3 kB / 1.49 GB, free: 5.125 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.5908, allocations: 231.1 kB / 1.49 GB, free: 4.898 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.5909, allocations: 24 kB / 1.491 GB, free: 4.875 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.5927, allocations: 0.9119 MB / 1.491 GB, free: 3.961 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.5929, allocations: 119.6 kB / 1.492 GB, free: 3.844 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.5931, allocations: 159.2 kB / 1.492 GB, free: 3.688 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.5946, allocations: 0.7476 MB / 1.492 GB, free: 2.938 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5946, allocations: 0 / 1.492 GB, free: 2.938 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5946, allocations: 0 / 1.492 GB, free: 2.938 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.5946, allocations: 0 / 1.492 GB, free: 2.938 MB / 1.186 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.001363/0.596, allocations: 0.6849 MB / 1.493 GB, free: 2.199 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.596, allocations: 19.92 kB / 1.493 GB, free: 2.18 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.5965, allocations: 91.58 kB / 1.493 GB, free: 2.09 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.5971, allocations: 322.1 kB / 1.493 GB, free: 1.73 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.5971, allocations: 16.56 kB / 1.493 GB, free: 1.715 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.5972, allocations: 24 kB / 1.494 GB, free: 1.691 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/0.5979, allocations: 332.2 kB / 1.494 GB, free: 1.352 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5979, allocations: 4 kB / 1.494 GB, free: 1.348 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.598, allocations: 8 kB / 1.494 GB, free: 1.34 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.598, allocations: 7.938 kB / 1.494 GB, free: 1.332 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008008/0.5988, allocations: 289.5 kB / 1.494 GB, free: 1.051 MB / 1.186 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.001886/0.6007, allocations: 1.063 MB / 1.495 GB, free: 15.92 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009836/0.6016, allocations: 307.7 kB / 1.495 GB, free: 15.59 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.602, allocations: 134.8 kB / 1.496 GB, free: 15.46 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007548/0.6028, allocations: 392.3 kB / 1.496 GB, free: 15 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.6028, allocations: 34.56 kB / 1.496 GB, free: 14.96 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.6028, allocations: 4 kB / 1.496 GB, free: 14.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001362/0.6041, allocations: 405.1 kB / 1.496 GB, free: 14.55 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.6042, allocations: 55.41 kB / 1.496 GB, free: 14.49 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.6045, allocations: 263 kB / 1.497 GB, free: 14.22 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.6045, allocations: 33.7 kB / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.6047, allocations: 172.3 kB / 1.497 GB, free: 14.01 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.6048, allocations: 67.44 kB / 1.497 GB, free: 13.95 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.6049, allocations: 45.7 kB / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.605, allocations: 338.8 kB / 1.497 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.6054, allocations: 107.8 kB / 1.497 GB, free: 13.45 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.6058, allocations: 165.8 kB / 1.498 GB, free: 13.27 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006893/0.6064, allocations: 266.6 kB / 1.498 GB, free: 12.99 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.6064, allocations: 0 / 1.498 GB, free: 12.99 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008538/0.6073, allocations: 327 kB / 1.498 GB, free: 12.66 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.6073, allocations: 4 kB / 1.498 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6073, allocations: 0 / 1.498 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6073, allocations: 7.938 kB / 1.498 GB, free: 12.65 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.6076, allocations: 59.89 kB / 1.498 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6077, allocations: 4 kB / 1.498 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.6079, allocations: 43.92 kB / 1.498 GB, free: 12.55 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.608, allocations: 8 kB / 1.498 GB, free: 12.54 MB / 1.201 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.0001824/0.6082, allocations: 153.8 kB / 1.498 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.6082, allocations: 27.81 kB / 1.498 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008924/0.6091, allocations: 319.7 kB / 1.499 GB, free: 12.03 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.6091, allocations: 7.938 kB / 1.499 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6091, allocations: 0 / 1.499 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6091, allocations: 0 / 1.499 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.6109, allocations: 0.9273 MB / 1.5 GB, free: 10.99 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6109, allocations: 3.938 kB / 1.5 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.6112, allocations: 52.09 kB / 1.5 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.6112, allocations: 11.98 kB / 1.5 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.6112, allocations: 4 kB / 1.5 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6112, allocations: 0 / 1.5 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6112, allocations: 7.938 kB / 1.5 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.6125, allocations: 0.5606 MB / 1.5 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.6126, allocations: 128.9 kB / 1.5 GB, free: 10.17 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.6126, allocations: 4 kB / 1.5 GB, free: 10.17 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.6129, allocations: 23.97 kB / 1.5 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.613, allocations: 23.86 kB / 1.5 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.613, allocations: 11.98 kB / 1.5 GB, free: 10.11 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002061/0.6132, allocations: 190 kB / 1.501 GB, free: 9.926 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6132, allocations: 4.062 kB / 1.501 GB, free: 9.922 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000504/0.6137, allocations: 111.8 kB / 1.501 GB, free: 9.812 MB / 1.201 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.0004251/0.6141, allocations: 195 kB / 1.501 GB, free: 9.613 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008253/0.615, allocations: 257.5 kB / 1.501 GB, free: 9.363 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.615, allocations: 0 / 1.501 GB, free: 9.363 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.6154, allocations: 131.8 kB / 1.501 GB, free: 9.234 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/0.6162, allocations: 127.3 kB / 1.501 GB, free: 9.113 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.6174, allocations: 0.6103 MB / 1.502 GB, free: 8.457 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.6178, allocations: 0.7833 MB / 1.503 GB, free: 7.648 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002248/0.618, allocations: 66.23 kB / 1.503 GB, free: 7.582 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.6181, allocations: 27.42 kB / 1.503 GB, free: 7.555 MB / 1.201 GB Notification: Performance of SimCode: time 3e-07/0.6181, allocations: 0 / 1.503 GB, free: 7.555 MB / 1.201 GB Notification: Performance of Templates: time 0.0125/0.6306, allocations: 6.058 MB / 1.509 GB, free: 1.574 MB / 1.201 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/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: 9.901079996023327]