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.00165/0.00165, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001986/0.001986, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 8.055 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 3.496/3.496, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: 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.00216/0.00216, allocations: 69.41 kB / 1.186 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5741, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002157/0.5763, allocations: 0.7052 MB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.5774, allocations: 0.832 MB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.5774, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.5774, allocations: 3.938 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.5775, allocations: 7.922 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.911e-05/0.5776, allocations: 11.98 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.5777, allocations: 47.84 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.5778, allocations: 7.984 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.5779, allocations: 12 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.5779, allocations: 27.91 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.578, allocations: 7.938 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.578, allocations: 7.938 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.578, allocations: 4 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.578, allocations: 19.92 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.5781, allocations: 43.8 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5781, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5781, allocations: 3.938 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.5782, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 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.0005534/0.5787, allocations: 286.3 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.5788, allocations: 12.03 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.5788, allocations: 4.891 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.5789, allocations: 114.5 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.5789, allocations: 384 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.5789, allocations: 8.312 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.5792, allocations: 66.22 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5792, allocations: 192 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5792, allocations: 7.875 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.5792, allocations: 4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.5795, allocations: 63.92 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.5799, allocations: 208.6 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.5801, allocations: 58.52 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.5802, allocations: 44.86 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.5802, allocations: 3.938 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.5803, allocations: 38.55 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5803, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005279/0.5808, allocations: 125.6 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.5808, allocations: 55.41 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/0.5809, allocations: 109.8 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.581, allocations: 25.7 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.581, allocations: 92.08 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.581, allocations: 3.953 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.5811, allocations: 13.72 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5812, allocations: 318.8 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.5814, allocations: 31.95 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.5815, allocations: 35.91 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.5818, allocations: 68.78 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5818, allocations: 0 / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003199/0.5821, allocations: 101.6 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5821, allocations: 4 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5821, allocations: 0 / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.5821, allocations: 4 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.5823, allocations: 15.97 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5823, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.886e-05/0.5823, allocations: 15.94 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.5824, allocations: 0 / 1.367 GB, free: 9.777 MB / 1.061 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 8.711e-05/0.5824, allocations: 122.9 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.5825, allocations: 3.938 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.5825, allocations: 12 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5825, allocations: 3.938 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5825, allocations: 3.938 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5825, allocations: 3.984 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.5827, allocations: 117.2 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5827, allocations: 0 / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.109e-05/0.5827, allocations: 15.92 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5828, allocations: 4 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.5828, allocations: 4 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5828, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5828, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.5831, allocations: 195.8 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.5831, allocations: 7.938 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.5832, allocations: 3.938 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.5833, allocations: 11.98 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.5833, allocations: 12.02 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.5833, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.5834, allocations: 87.28 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5834, allocations: 0 / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002947/0.5837, allocations: 8 kB / 1.368 GB, free: 9.105 MB / 1.061 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 0.0001605/0.5838, allocations: 95.25 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.5842, allocations: 71.91 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.5842, allocations: 4 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.5843, allocations: 35.91 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.5846, allocations: 0 / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.585, allocations: 125.6 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.585, allocations: 67.3 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.151e-05/0.5851, allocations: 8 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.5851, allocations: 7.438 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.5851, allocations: 0 / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of Templates: time 0.003322/0.5884, allocations: 0.7347 MB / 1.369 GB, free: 7.922 MB / 1.061 GB " [Timeout remaining time 299] 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: 9.881117329001427]