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.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.001932/0.001932, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.002439/0.002439, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.739/1.739, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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 2.953/2.953, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.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 2.665e-06/2.665e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.706e-05, allocations: 13.59 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002061/0.002098, allocations: 0.7602 MB / 1.001 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.003326, allocations: 0.886 MB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.003378, allocations: 4 kB / 1.002 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.003417, allocations: 7.922 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.804e-05/0.003505, allocations: 7.875 kB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.0037, allocations: 47.81 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.003836, allocations: 87.77 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.003974, allocations: 19.98 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.00409, allocations: 47.89 kB / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.004174, allocations: 39.88 kB / 1.002 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.004216, allocations: 8 kB / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.865e-05/0.004235, allocations: 12 kB / 1.002 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.004269, allocations: 15.98 kB / 1.002 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.004318, allocations: 27.91 kB / 1.002 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004482, allocations: 99.64 kB / 1.002 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004484, allocations: 0 / 1.002 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004485, allocations: 0 / 1.002 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5e-06/0.00449, allocations: 0 / 1.002 GB, free: 5.23 MB / 0.9512 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.0006889/0.005179, allocations: 314.1 kB / 1.002 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.005218, allocations: 8.031 kB / 1.002 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.005263, allocations: 16.84 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.005447, allocations: 125.6 kB / 1.003 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.005464, allocations: 4.375 kB / 1.003 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.005487, allocations: 4.375 kB / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.005857, allocations: 110.2 kB / 1.003 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.005871, allocations: 3.938 kB / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.005888, allocations: 0 / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.005894, allocations: 4 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.006317, allocations: 107.8 kB / 1.003 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.006864, allocations: 264.3 kB / 1.003 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006761/0.00754, allocations: 118.5 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.007773, allocations: 56.81 kB / 1.003 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.007789, allocations: 4 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.007817, allocations: 30.56 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.007818, allocations: 0 / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0007762/0.008595, allocations: 185.5 kB / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.008638, allocations: 51.41 kB / 1.004 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.008768, allocations: 133.8 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.00879, allocations: 25.7 kB / 1.004 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.008862, allocations: 92.09 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.008898, allocations: 23.83 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.008958, allocations: 21.72 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.00912, allocations: 322.8 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.009319, allocations: 43.95 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.009508, allocations: 43.95 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.009899, allocations: 104.8 kB / 1.004 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.009901, allocations: 0 / 1.004 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004578/0.01036, allocations: 137.5 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.01038, allocations: 11.94 kB / 1.004 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01038, allocations: 4 kB / 1.004 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.0104, allocations: 0 / 1.004 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.01059, allocations: 27.97 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.0106, allocations: 0 / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.01072, allocations: 15.97 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.01073, allocations: 0 / 1.004 GB, free: 2.691 MB / 0.9512 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 0.000103/0.01083, allocations: 117.8 kB / 1.005 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.01087, allocations: 7.953 kB / 1.005 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.0109, allocations: 16.44 kB / 1.005 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.0109, allocations: 0 / 1.005 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.01091, allocations: 3.984 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01091, allocations: 0 / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.0111, allocations: 133.2 kB / 1.005 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.0111, allocations: 0 / 1.005 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.01127, allocations: 27.91 kB / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01127, allocations: 0 / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.01129, allocations: 11.98 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01129, allocations: 0.5469 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0113, allocations: 4 kB / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.01182, allocations: 239.3 kB / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.01184, allocations: 7.953 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.01186, allocations: 3.938 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.01201, allocations: 15.98 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.0121, allocations: 15.97 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.01212, allocations: 11.98 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.069e-05/0.01219, allocations: 95.27 kB / 1.005 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.01219, allocations: 0 / 1.005 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002444/0.01243, allocations: 15.94 kB / 1.005 GB, free: 1.922 MB / 0.9512 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.0001428/0.01257, allocations: 107.2 kB / 1.005 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.01305, allocations: 95.91 kB / 1.005 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01305, allocations: 4 kB / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.01328, allocations: 63.88 kB / 1.005 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.01362, allocations: 15.88 kB / 1.005 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.0141, allocations: 177.4 kB / 1.006 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.827e-05/0.01418, allocations: 75.33 kB / 1.006 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.98e-05/0.01424, allocations: 8 kB / 1.006 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.01432, allocations: 20.48 kB / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.01432, allocations: 0 / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of Templates: time 0.005063/0.01938, allocations: 1.704 MB / 1.007 GB, free: 15.61 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.744693771004677]