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.0009771/0.0009771, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009405/0.0009405, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.922/0.922, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.139/2.139, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 1.784e-06/1.784e-06, allocations: 0 / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.851e-05, allocations: 6.312 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001453/0.001482, allocations: 0.7889 MB / 0.8802 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.00234, allocations: 0.899 MB / 0.881 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.002395, allocations: 4 kB / 0.8811 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.00243, allocations: 5.031 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.77e-05/0.002518, allocations: 10.41 kB / 0.8811 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.002674, allocations: 47.81 kB / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.362e-05/0.002768, allocations: 87.81 kB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.002873, allocations: 19.92 kB / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.002972, allocations: 52.89 kB / 0.8813 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.003038, allocations: 35.89 kB / 0.8813 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.003061, allocations: 8 kB / 0.8813 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.003074, allocations: 9.062 kB / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.003102, allocations: 31.89 kB / 0.8813 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.003129, allocations: 19.92 kB / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.003236, allocations: 68.84 kB / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003239, allocations: 0 / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.565e-06/0.003241, allocations: 4 kB / 0.8814 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.003246, allocations: 1.125 kB / 0.8814 GB, free: 3.938 MB / 0.8386 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.0003894/0.003635, allocations: 404.3 kB / 0.8818 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.003671, allocations: 12.91 kB / 0.8818 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.003708, allocations: 12.89 kB / 0.8818 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.874e-05/0.003797, allocations: 126.1 kB / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.003815, allocations: 384 / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.003828, allocations: 12.31 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.003976, allocations: 94.02 kB / 0.8821 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.003986, allocations: 3.938 kB / 0.8821 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.003997, allocations: 9.844 kB / 0.8821 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.004003, allocations: 0 / 0.8821 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.318e-05/0.004046, allocations: 19.97 kB / 0.8821 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.00436, allocations: 305.5 kB / 0.8824 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.004589, allocations: 75.11 kB / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.004622, allocations: 24.78 kB / 0.8825 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.004636, allocations: 3.984 kB / 0.8825 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.004656, allocations: 38.05 kB / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.004657, allocations: 0 / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001667/0.004824, allocations: 83.09 kB / 0.8826 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.004852, allocations: 51.41 kB / 0.8827 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.004929, allocations: 181.9 kB / 0.8828 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.004941, allocations: 28.27 kB / 0.8829 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.004988, allocations: 142.8 kB / 0.883 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.005009, allocations: 19.8 kB / 0.883 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.005047, allocations: 35.34 kB / 0.883 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.005153, allocations: 496.1 kB / 0.8835 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.005178, allocations: 11.98 kB / 0.8835 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.005197, allocations: 5.969 kB / 0.8835 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.137e-05/0.005259, allocations: 43.53 kB / 0.8836 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00526, allocations: 0 / 0.8836 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.454e-05/0.005355, allocations: 61.69 kB / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005368, allocations: 11.2 kB / 0.8836 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.005371, allocations: 0 / 0.8836 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.005379, allocations: 0.5 kB / 0.8836 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.005458, allocations: 21.02 kB / 0.8837 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.005461, allocations: 0 / 0.8837 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.0055, allocations: 15.95 kB / 0.8837 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.005507, allocations: 3.984 kB / 0.8837 GB, free: 1.453 MB / 0.8386 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 7.173e-05/0.005578, allocations: 164.5 kB / 0.8838 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.0056, allocations: 11.95 kB / 0.8839 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.005624, allocations: 8.438 kB / 0.8839 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.005625, allocations: 4 kB / 0.8839 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.005627, allocations: 0 / 0.8839 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005629, allocations: 0 / 0.8839 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.005738, allocations: 125.2 kB / 0.884 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005739, allocations: 0 / 0.884 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.005791, allocations: 23.92 kB / 0.884 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005792, allocations: 7.938 kB / 0.884 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.005798, allocations: 0 / 0.884 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.005799, allocations: 0 / 0.884 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0058, allocations: 3.984 kB / 0.884 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.005943, allocations: 216.4 kB / 0.8842 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.005956, allocations: 23.8 kB / 0.8842 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.689e-06/0.005966, allocations: 0 / 0.8842 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.006015, allocations: 4 kB / 0.8843 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.006068, allocations: 27.97 kB / 0.8843 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.006074, allocations: 7.984 kB / 0.8843 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.006114, allocations: 131.2 kB / 0.8844 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006114, allocations: 0 / 0.8844 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001434/0.006258, allocations: 12 kB / 0.8844 GB, free: 0.6367 MB / 0.8386 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 9.508e-05/0.006353, allocations: 103.2 kB / 0.8845 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.006455, allocations: 43.7 kB / 0.8846 GB, free: 492 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006456, allocations: 3.938 kB / 0.8846 GB, free: 488 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.0065, allocations: 31.67 kB / 0.8846 GB, free: 452 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.006694, allocations: 19.98 kB / 0.8846 GB, free: 432 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.006962, allocations: 162.8 kB / 0.8848 GB, free: 236 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.006994, allocations: 63.34 kB / 0.8848 GB, free: 152 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.911e-05/0.007033, allocations: 12 kB / 0.8848 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.007116, allocations: 86.19 kB / 0.8849 GB, free: 52 kB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.007116, allocations: 0 / 0.8849 GB, free: 52 kB / 0.8386 GB Notification: Performance of Templates: time 0.003483/0.0106, allocations: 1.89 MB / 0.8868 GB, free: 14.18 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.350910264998674]