Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001748/0.001748, allocations: 103.8 kB / 17.07 MB, free: 6.012 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.002112/0.002113, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.543/1.543, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.07/3.07, allocations: 489.2 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002006/1.031, allocations: 0.7859 MB / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001096/1.033, allocations: 0.8557 MB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/1.033, allocations: 0.9062 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/1.033, allocations: 8.906 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.037e-05/1.033, allocations: 9.984 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/1.033, allocations: 41.56 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/1.033, allocations: 91.08 kB / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/1.033, allocations: 25.83 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.042e-05/1.033, allocations: 32.31 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/1.033, allocations: 48.95 kB / 1.264 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/1.033, allocations: 12.06 kB / 1.264 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/1.033, allocations: 8.312 kB / 1.264 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/1.034, allocations: 23.17 kB / 1.264 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/1.034, allocations: 35.52 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/1.034, allocations: 86.42 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.034, allocations: 0.6875 kB / 1.265 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/1.034, allocations: 3.938 kB / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.034, allocations: 0 / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006276/1.034, allocations: 398.4 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/1.034, allocations: 9.984 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/1.034, allocations: 8.672 kB / 1.265 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/1.035, allocations: 179 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/1.035, allocations: 10.69 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/1.035, allocations: 4.469 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/1.035, allocations: 114.8 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.035, allocations: 0.8125 kB / 1.265 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/1.035, allocations: 8.938 kB / 1.265 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.035, allocations: 1.125 kB / 1.265 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/1.035, allocations: 93.73 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/1.036, allocations: 341 kB / 1.266 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/1.037, allocations: 122.1 kB / 1.266 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/1.037, allocations: 58.27 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/1.037, allocations: 1.703 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/1.037, allocations: 39.95 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/1.037, allocations: 4 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0007115/1.038, allocations: 174.2 kB / 1.266 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/1.038, allocations: 56.59 kB / 1.266 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/1.038, allocations: 132.2 kB / 1.266 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/1.038, allocations: 30.73 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/1.038, allocations: 92.44 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/1.038, allocations: 20.94 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/1.038, allocations: 22.77 kB / 1.266 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.741e-05/1.038, allocations: 322.7 kB / 1.267 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.038, allocations: 43.91 kB / 1.267 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/1.038, allocations: 49.14 kB / 1.267 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/1.039, allocations: 100.4 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1.039, allocations: 0.7188 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004355/1.039, allocations: 145.4 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.039, allocations: 6.281 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.039, allocations: 0 / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.039, allocations: 1.219 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/1.039, allocations: 24.52 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/1.039, allocations: 0 / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/1.04, allocations: 21 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/1.04, allocations: 6.188 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.766e-05/1.04, allocations: 122.5 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/1.04, allocations: 7.062 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/1.04, allocations: 14.89 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.04, allocations: 1 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.04, allocations: 1.469 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.04, allocations: 3.938 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/1.04, allocations: 195.2 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.04, allocations: 0 / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/1.04, allocations: 28 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.04, allocations: 8.75 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/1.04, allocations: 2.547 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.04, allocations: 0.7188 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.04, allocations: 0.8438 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/1.041, allocations: 238.6 kB / 1.268 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/1.041, allocations: 87.48 kB / 1.268 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/1.041, allocations: 1.672 kB / 1.268 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/1.041, allocations: 12.03 kB / 1.268 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/1.041, allocations: 24.56 kB / 1.268 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/1.041, allocations: 3.844 kB / 1.268 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.35e-05/1.041, allocations: 93.45 kB / 1.268 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.041, allocations: 3.938 kB / 1.268 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00024/1.041, allocations: 16.03 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001063/1.041, allocations: 105 kB / 1.268 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004661/1.042, allocations: 104 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.042, allocations: 0 / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/1.042, allocations: 58.58 kB / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/1.042, allocations: 13.81 kB / 1.268 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/1.043, allocations: 208.2 kB / 1.268 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/1.043, allocations: 0.6938 MB / 1.269 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/1.043, allocations: 20.16 kB / 1.269 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/1.043, allocations: 0 / 1.269 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of Templates: time 0.003329/1.046, allocations: 1.249 MB / 1.27 GB, free: 2.832 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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: 11.738984328927472]