Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.0007227/0.0007227, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008959/0.001619, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007221/0.0007221, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008575/0.00158, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9912/0.9912, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1223/1.114, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.957/1.957, allocations: 378.2 MB / 0.6076 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6304/2.588, allocations: 123.3 MB / 0.728 GB, free: 5.855 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.814e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001642/0.00167, allocations: 0.8612 MB / 0.7302 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 8.896e-05/0.001759, allocations: 49.17 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.001803, allocations: 0.6562 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.001835, allocations: 11.86 kB / 0.7302 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.664e-05/0.001881, allocations: 18.19 kB / 0.7303 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.756e-05/0.001919, allocations: 17.41 kB / 0.7303 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.988e-05/0.002019, allocations: 62.72 kB / 0.7303 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.002127, allocations: 31.98 kB / 0.7304 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.002244, allocations: 47.38 kB / 0.7304 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/0.00229, allocations: 21.23 kB / 0.7304 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.002313, allocations: 6.25 kB / 0.7304 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.002322, allocations: 4 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.002341, allocations: 15.88 kB / 0.7305 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.002372, allocations: 19.94 kB / 0.7305 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.671e-05/0.002469, allocations: 39.78 kB / 0.7305 GB, free: 3.402 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.746e-05/0.002486, allocations: 0 / 0.7305 GB, free: 3.402 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002487, allocations: 0 / 0.7305 GB, free: 3.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.002506, allocations: 0.5 kB / 0.7305 GB, free: 3.402 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004125/0.002918, allocations: 289.7 kB / 0.7308 GB, free: 3.094 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.002952, allocations: 15.97 kB / 0.7308 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.00298, allocations: 8.938 kB / 0.7308 GB, free: 3.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.003116, allocations: 142.3 kB / 0.7309 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.003127, allocations: 4.375 kB / 0.731 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.003139, allocations: 9.062 kB / 0.731 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.003248, allocations: 83.05 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.003257, allocations: 1.906 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.003266, allocations: 4.375 kB / 0.731 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.003273, allocations: 384 / 0.731 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.003308, allocations: 31.8 kB / 0.7311 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.003672, allocations: 0.498 MB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.171e-05/0.003744, allocations: 165.1 kB / 0.7317 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.003769, allocations: 88.72 kB / 0.7318 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.003791, allocations: 79.97 kB / 0.7319 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.00383, allocations: 105.8 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.003831, allocations: 1.375 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.453e-05/0.003885, allocations: 33.69 kB / 0.732 GB, free: 1.746 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.003937, allocations: 130.7 kB / 0.7321 GB, free: 1.605 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.004045, allocations: 145.5 kB / 0.7323 GB, free: 1.453 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.004054, allocations: 25.7 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.004118, allocations: 127.8 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-06/0.004125, allocations: 0.5312 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.00416, allocations: 30.44 kB / 0.7325 GB, free: 1.258 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.004243, allocations: 318.8 kB / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.004251, allocations: 5.75 kB / 0.7328 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.004284, allocations: 58.78 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.812e-05/0.004342, allocations: 72.86 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.004346, allocations: 0 / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.231e-05/0.004438, allocations: 71.39 kB / 0.733 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.004452, allocations: 4.531 kB / 0.733 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.004458, allocations: 4.938 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.004471, allocations: 4 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.895e-05/0.00452, allocations: 19.88 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.004523, allocations: 0.5938 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.004544, allocations: 12.81 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.004548, allocations: 4 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 7.407e-05/0.004623, allocations: 198.4 kB / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.004663, allocations: 105 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.004709, allocations: 116.8 kB / 0.7334 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-05/0.00476, allocations: 188.2 kB / 0.7336 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.671e-05/0.004826, allocations: 176.9 kB / 0.7338 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.097e-05/0.004877, allocations: 184.8 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.005029, allocations: 329.4 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.005057, allocations: 106.1 kB / 0.7343 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.005099, allocations: 108.9 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.005144, allocations: 112.9 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/0.005191, allocations: 181.3 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.005238, allocations: 176.3 kB / 0.7349 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.098e-05/0.005289, allocations: 180.3 kB / 0.7351 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-05/0.005346, allocations: 181.7 kB / 0.7352 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.005469, allocations: 319.7 kB / 0.7355 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.005526, allocations: 176.3 kB / 0.7357 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.005577, allocations: 106 kB / 0.7358 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.005639, allocations: 184.2 kB / 0.736 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.005668, allocations: 101 kB / 0.7361 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.908e-05/0.005697, allocations: 31.42 kB / 0.7361 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005697, allocations: 1.75 kB / 0.7361 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001273/0.005825, allocations: 11.95 kB / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001053/0.00593, allocations: 155.7 kB / 0.7363 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.006, allocations: 33.92 kB / 0.7363 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.006005, allocations: 4.75 kB / 0.7363 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.006006, allocations: 0 / 0.7363 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.006229, allocations: 464.3 kB / 0.7368 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.00649, allocations: 232.7 kB / 0.737 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.006534, allocations: 60.52 kB / 0.737 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.00657, allocations: 6.922 kB / 0.737 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.006607, allocations: 51.38 kB / 0.7371 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of SimCode: time 1.123e-06/0.006608, allocations: 0 / 0.7371 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of Templates: time 0.002072/0.008679, allocations: 345.5 kB / 0.7374 GB, free: 11.89 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.066742869094014]