Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001313/0.001313, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001315/0.001315, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.469/1.469, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 443.5 MB / 0.7293 GB, free: 14.65 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 1.057 GB, free: 2.055 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 160.7 MB / 1.214 GB, free: 1.016 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001978/0.313, allocations: 0.7023 MB / 1.215 GB, free: 316 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.314, allocations: 0.8039 MB / 1.216 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.314, allocations: 0 / 1.216 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.3141, allocations: 0 / 1.216 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.3141, allocations: 7.875 kB / 1.216 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.883e-05/0.3142, allocations: 23.97 kB / 1.216 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.3143, allocations: 39.91 kB / 1.216 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3144, allocations: 15.98 kB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.869e-05/0.3144, allocations: 11.94 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.3145, allocations: 27.91 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3145, allocations: 4 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.3145, allocations: 0 / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.3145, allocations: 8 kB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.3146, allocations: 19.86 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.403e-05/0.3147, allocations: 47.73 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3147, allocations: 0 / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3147, allocations: 4 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3147, allocations: 3.938 kB / 1.216 GB, free: 15.28 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.0005846/0.3153, allocations: 367.3 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3153, allocations: 8.031 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.3153, allocations: 8.891 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3155, allocations: 164.3 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3155, allocations: 4.375 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3155, allocations: 4.375 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3158, allocations: 70.22 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3158, allocations: 4.172 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3158, allocations: 3.938 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3158, allocations: 4 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.3161, allocations: 71.86 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.3165, allocations: 268.9 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3167, allocations: 54.47 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.3169, allocations: 40.92 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3169, allocations: 8 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.3169, allocations: 34.55 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3169, allocations: 0 / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005522/0.3175, allocations: 125.5 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.3175, allocations: 55.41 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3176, allocations: 109.8 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3176, allocations: 25.7 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.3177, allocations: 88.12 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.3177, allocations: 11.91 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.3178, allocations: 13.72 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3179, allocations: 314.8 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.318, allocations: 35.95 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3182, allocations: 27.97 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.3185, allocations: 72.72 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3185, allocations: 3.938 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003351/0.3188, allocations: 101.6 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3188, allocations: 4 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3188, allocations: 0 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3189, allocations: 0 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.319, allocations: 19.97 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.319, allocations: 0 / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.3191, allocations: 15.98 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3191, allocations: 0 / 1.218 GB, free: 12.96 MB / 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 9.128e-05/0.3192, allocations: 113.8 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.3192, allocations: 7.953 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.3192, allocations: 3.906 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3192, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3192, allocations: 7.938 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3192, allocations: 7.922 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.3194, allocations: 169.6 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3194, allocations: 4 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.454e-05/0.3195, allocations: 12.31 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3195, allocations: 0 / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3195, allocations: 7.938 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3195, allocations: 0 / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3195, allocations: 0 / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.3199, allocations: 207.3 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.32, allocations: 81.05 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.32, allocations: 4 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3201, allocations: 11.98 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3202, allocations: 7.984 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.3202, allocations: 0 / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.3202, allocations: 83.28 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3202, allocations: 4 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002135/0.3204, allocations: 11.94 kB / 1.219 GB, free: 12.12 MB / 0.9669 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.0001428/0.3206, allocations: 107.2 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.3209, allocations: 63.92 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3209, allocations: 4 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.3211, allocations: 31.97 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3214, allocations: 11.92 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.3218, allocations: 159 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3221, allocations: 0.6807 MB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.3221, allocations: 11.44 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3221, allocations: 4 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of Templates: time 0.002353/0.3245, allocations: 0.7444 MB / 1.22 GB, free: 10.26 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.331176886102185]