Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.0007125/0.0007125, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008118/0.0008118, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8779/0.8779, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.783/1.783, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.359e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001077/0.001101, allocations: 0.6834 MB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006693/0.00177, allocations: 0.8276 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.001803, allocations: 7.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.001829, allocations: 3.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.001884, allocations: 7.938 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.496e-05/0.001939, allocations: 7.984 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.683e-05/0.002016, allocations: 55.83 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.002109, allocations: 4 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.002181, allocations: 27.91 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.274e-05/0.002214, allocations: 11.98 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.002236, allocations: 11.94 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.202e-06/0.002242, allocations: 4 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.002257, allocations: 4 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.002278, allocations: 15.92 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.831e-05/0.002356, allocations: 39.92 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002358, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.883e-06/0.00236, allocations: 3.984 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002363, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000345/0.002708, allocations: 290.1 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.002745, allocations: 16.75 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.002774, allocations: 4.891 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.271e-05/0.002846, allocations: 109.8 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.002856, allocations: 384 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.002865, allocations: 4.375 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.003016, allocations: 70.2 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.003024, allocations: 4.188 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.003032, allocations: 384 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.003037, allocations: 8.297 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.003175, allocations: 71.86 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.003426, allocations: 208.6 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.003533, allocations: 46.55 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.003609, allocations: 40.91 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.003619, allocations: 4 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.003639, allocations: 42.5 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 6.72e-07/0.00364, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000289/0.003929, allocations: 133.5 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.003955, allocations: 51.41 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.00401, allocations: 110.1 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.00402, allocations: 29.7 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.004052, allocations: 84.14 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.004068, allocations: 7.891 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.004092, allocations: 17.72 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.689e-05/0.004159, allocations: 318.8 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.614e-05/0.004225, allocations: 27.97 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.00429, allocations: 43.83 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.004416, allocations: 68.78 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004418, allocations: 0 / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001485/0.004567, allocations: 97.58 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.004578, allocations: 11.94 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.004582, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.004593, allocations: 4 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.004662, allocations: 11.98 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.004666, allocations: 4.062 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.004701, allocations: 11.98 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.004707, allocations: 7.938 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 4.885e-05/0.004756, allocations: 117.8 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.004766, allocations: 0 / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.004786, allocations: 19.94 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-07/0.004787, allocations: 0 / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.00479, allocations: 0 / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.004792, allocations: 0 / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.937e-05/0.004881, allocations: 113.3 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-07/0.004882, allocations: 0 / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.004918, allocations: 11.98 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.00492, allocations: 4 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.004926, allocations: 3.984 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.004927, allocations: 3.938 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.004928, allocations: 4 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.005099, allocations: 195.8 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-06/0.005104, allocations: 4 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.005112, allocations: 0 / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.005164, allocations: 23.86 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.005194, allocations: 3.984 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.005196, allocations: 4 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.737e-05/0.005223, allocations: 91.27 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005223, allocations: 0 / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001444/0.005368, allocations: 8 kB / 1.005 GB, free: 8.461 MB / 0.9636 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 (3): * Single equations (assignments): 3 * 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 6.457e-05/0.005432, allocations: 95.25 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.005602, allocations: 63.92 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.005604, allocations: 8 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.005674, allocations: 39.89 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.00586, allocations: 0 / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.00609, allocations: 158.4 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.74e-05/0.006128, allocations: 67.28 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.006156, allocations: 12.5 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of SimCode: time 3.5e-07/0.006157, allocations: 4 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of Templates: time 0.001344/0.007501, allocations: 0.7574 MB / 1.006 GB, free: 7.211 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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: 6.439901718869805]