Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 197.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.097/3.097, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 71.89 kB / 1.109 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9703/0.9726, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001963/0.9746, allocations: 0.7121 MB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.9755, allocations: 0.8157 MB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.9756, allocations: 0 / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.9756, allocations: 3.938 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.9757, allocations: 3.938 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.879e-05/0.9757, allocations: 15.98 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.9758, allocations: 43.84 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.9759, allocations: 11.98 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.976, allocations: 11.98 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.976, allocations: 27.91 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.9761, allocations: 7.938 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.9761, allocations: 4 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.9761, allocations: 8 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.9761, allocations: 11.92 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.9762, allocations: 46.42 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.9762, allocations: 0 / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9762, allocations: 0 / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.9762, allocations: 4 kB / 1.276 GB, free: 2.66 MB / 0.9669 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.0006298/0.9769, allocations: 367.3 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.9769, allocations: 8.031 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.9769, allocations: 4.891 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.9771, allocations: 176.3 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.9771, allocations: 384 / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.9771, allocations: 4.375 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.9774, allocations: 66.22 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9774, allocations: 192 / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.9774, allocations: 7.938 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.9774, allocations: 0 / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.9777, allocations: 67.86 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.9781, allocations: 268.9 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.9784, allocations: 54.58 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.9785, allocations: 44.81 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.9785, allocations: 3.938 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.9786, allocations: 34.56 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.9786, allocations: 3.938 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005746/0.9791, allocations: 129.8 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.9792, allocations: 51.41 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.9793, allocations: 105.8 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.9793, allocations: 25.7 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.9793, allocations: 92.14 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.9794, allocations: 11.84 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.9794, allocations: 21.7 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.9796, allocations: 310.8 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.9797, allocations: 31.97 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.9799, allocations: 35.94 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.9801, allocations: 80.66 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.9801, allocations: 3.938 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003423/0.9805, allocations: 93.62 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.9805, allocations: 8 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9805, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.9805, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.9807, allocations: 19.98 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.9807, allocations: 0 / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/0.9808, allocations: 19.92 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.9808, allocations: 0 / 1.278 GB, free: 332 kB / 0.9669 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.678e-05/0.9809, allocations: 110.3 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.9809, allocations: 12 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.9809, allocations: 7.906 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.9809, allocations: 3.938 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.9809, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.9809, allocations: 0 / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.9811, allocations: 173.6 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9811, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.9812, allocations: 15.98 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.9812, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.9812, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.9812, allocations: 4 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9812, allocations: 4.312 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.9816, allocations: 199.4 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.9817, allocations: 77.11 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.9817, allocations: 4 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.9818, allocations: 11.98 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.9818, allocations: 0 / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.9818, allocations: 4 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.378e-05/0.9819, allocations: 99.12 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9819, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002131/0.9821, allocations: 8 kB / 1.279 GB, free: 15.51 MB / 0.9825 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.0001473/0.9823, allocations: 102.2 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.9826, allocations: 71.92 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9826, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.9828, allocations: 35.95 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.9831, allocations: 13.75 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.9834, allocations: 149.3 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.9838, allocations: 0.6807 MB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.9838, allocations: 384 / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.9839, allocations: 11.44 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.9839, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of Templates: time 0.003213/0.9871, allocations: 0.6882 MB / 1.28 GB, free: 13.71 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.55691474629566]