Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.00136/0.00136, allocations: 79.58 kB / 19.76 MB, free: 2.031 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.001508/0.001508, allocations: 159.1 kB / 23.01 MB, free: 4.945 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.786/2.786, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.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.002418/0.002418, allocations: 75.88 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9587/0.9611, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001859/0.963, allocations: 0.763 MB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.9638, allocations: 0.8804 MB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.9639, allocations: 2.656 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.9639, allocations: 3.938 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/0.964, allocations: 15.88 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.9642, allocations: 50.5 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.9643, allocations: 84.73 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.9644, allocations: 19.53 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.265e-05/0.9645, allocations: 38.02 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.9645, allocations: 40.78 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.9646, allocations: 11.62 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.9646, allocations: 6.125 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.9646, allocations: 29.23 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.9646, allocations: 26.89 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.9648, allocations: 93.7 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9648, allocations: 0 / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9648, allocations: 0 / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.892e-06/0.9648, allocations: 2.75 kB / 1.156 GB, free: 31.98 MB / 1.076 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.000543/0.9653, allocations: 315 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.9653, allocations: 9 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.9654, allocations: 7.797 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.98e-05/0.9655, allocations: 126.7 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.9655, allocations: 3 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.9655, allocations: 13.78 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.9658, allocations: 103.2 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.9658, allocations: 0 / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.9658, allocations: 0 / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.9658, allocations: 2.562 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.9662, allocations: 101 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.9666, allocations: 276.6 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.9672, allocations: 113.5 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.9673, allocations: 54.39 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.9674, allocations: 0 / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.9674, allocations: 40.89 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.9674, allocations: 3.984 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0006143/0.968, allocations: 183.5 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.968, allocations: 54.25 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.9681, allocations: 133 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.9681, allocations: 25.7 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.9682, allocations: 98.39 kB / 1.158 GB, free: 30.74 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.9682, allocations: 18.34 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.9682, allocations: 22.7 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.9683, allocations: 324.7 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.9684, allocations: 41.14 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.9686, allocations: 47.8 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.9689, allocations: 104.2 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9689, allocations: 0 / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003647/0.9693, allocations: 135.2 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.9693, allocations: 5.938 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.9693, allocations: 0 / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.9693, allocations: 0 / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.9695, allocations: 32.7 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.9695, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.9696, allocations: 20.44 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.9696, allocations: 6.812 kB / 1.158 GB, free: 30.26 MB / 1.076 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 5.883e-05/0.9697, allocations: 117.5 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.9697, allocations: 2.812 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.9697, allocations: 14.72 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9697, allocations: 0 / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9697, allocations: 2.75 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.9697, allocations: 4 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.9699, allocations: 139.1 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9699, allocations: 0 / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.97, allocations: 31.28 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.97, allocations: 0 / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.97, allocations: 4 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.97, allocations: 6.406 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.97, allocations: 0 / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.9704, allocations: 242 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.9704, allocations: 2.969 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.9704, allocations: 0 / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.9706, allocations: 16.44 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.9707, allocations: 20.5 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.9707, allocations: 2.875 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.9707, allocations: 93.89 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9707, allocations: 0 / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000235/0.9709, allocations: 19.86 kB / 1.159 GB, free: 29.7 MB / 1.076 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 8.96e-05/0.971, allocations: 108.3 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.9714, allocations: 109.6 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9714, allocations: 0 / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.9716, allocations: 62.72 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.9719, allocations: 10.75 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.9723, allocations: 169 kB / 1.159 GB, free: 29.42 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.9724, allocations: 80.2 kB / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.961e-05/0.9724, allocations: 16.12 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.9725, allocations: 21.53 kB / 1.159 GB, free: 29.33 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9725, allocations: 3.938 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of Templates: time 0.00427/0.9768, allocations: 1.693 MB / 1.161 GB, free: 29.16 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.861664490075782]