Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008258/0.0008258, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001029/0.001029, allocations: 169.7 kB / 24.87 MB, free: 8.844 MB / 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.9433/0.9433, allocations: 177.2 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.835/1.835, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.474e-05, allocations: 6.5 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001495/0.00152, allocations: 0.782 MB / 0.7891 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009399/0.00246, allocations: 0.903 MB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.002508, allocations: 0 / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.002539, allocations: 11.88 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.002622, allocations: 11.88 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.002768, allocations: 45.09 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.756e-05/0.002855, allocations: 79.77 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.002956, allocations: 23.97 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.003047, allocations: 52.39 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.003108, allocations: 40.58 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.00313, allocations: 8 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.003142, allocations: 8.906 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.003167, allocations: 23.89 kB / 0.7903 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.003191, allocations: 24.58 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.702e-05/0.003288, allocations: 59.8 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00329, allocations: 1.594 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.213e-06/0.003292, allocations: 0 / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003296, allocations: 0 / 0.7903 GB, free: 10.14 MB / 0.7448 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.0003668/0.003662, allocations: 412.3 kB / 0.7907 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.003695, allocations: 15.5 kB / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.003728, allocations: 8.891 kB / 0.7908 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.246e-05/0.00381, allocations: 124.5 kB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.003827, allocations: 8.312 kB / 0.7909 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.003837, allocations: 4.375 kB / 0.7909 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.003975, allocations: 86.89 kB / 0.791 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.003983, allocations: 3.938 kB / 0.791 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.003992, allocations: 4.719 kB / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.003997, allocations: 4 kB / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/0.004042, allocations: 21.62 kB / 0.791 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.004355, allocations: 312.1 kB / 0.7913 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.004591, allocations: 72.08 kB / 0.7914 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.004625, allocations: 28.61 kB / 0.7914 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.00464, allocations: 3.984 kB / 0.7914 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.004659, allocations: 33.39 kB / 0.7914 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.00466, allocations: 1.344 kB / 0.7914 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001672/0.004828, allocations: 69.67 kB / 0.7915 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.004859, allocations: 60.28 kB / 0.7916 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.004936, allocations: 181.8 kB / 0.7917 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.00495, allocations: 26.77 kB / 0.7918 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.005273, allocations: 134.9 kB / 0.7919 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.005297, allocations: 23.78 kB / 0.7919 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.005336, allocations: 28.36 kB / 0.7919 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.005451, allocations: 0.4923 MB / 0.7924 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.005476, allocations: 13.52 kB / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.005497, allocations: 8 kB / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.605e-05/0.005553, allocations: 39.59 kB / 0.7925 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005554, allocations: 0 / 0.7925 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.627e-05/0.005651, allocations: 66.86 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.005665, allocations: 7.984 kB / 0.7926 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.00567, allocations: 0.5312 kB / 0.7926 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.005679, allocations: 3.938 kB / 0.7926 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.005755, allocations: 28.64 kB / 0.7926 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.005758, allocations: 5.516 kB / 0.7926 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.005797, allocations: 4 kB / 0.7926 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.005804, allocations: 4.516 kB / 0.7926 GB, free: 7.652 MB / 0.7448 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.852e-05/0.005883, allocations: 165.9 kB / 0.7928 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.005905, allocations: 7.953 kB / 0.7928 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.005926, allocations: 8.438 kB / 0.7928 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.005929, allocations: 4 kB / 0.7928 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.005931, allocations: 1.219 kB / 0.7928 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005934, allocations: 0 / 0.7928 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.006047, allocations: 121.2 kB / 0.7929 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006048, allocations: 0.5625 kB / 0.7929 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.006104, allocations: 20.73 kB / 0.7929 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006105, allocations: 0 / 0.7929 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.006112, allocations: 8.812 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006113, allocations: 0 / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006114, allocations: 0 / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.006253, allocations: 224.7 kB / 0.7931 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.006268, allocations: 19.81 kB / 0.7932 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.006279, allocations: 1.219 kB / 0.7932 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.006329, allocations: 4 kB / 0.7932 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.006382, allocations: 23.97 kB / 0.7932 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.006389, allocations: 8.828 kB / 0.7932 GB, free: 7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.006429, allocations: 135.2 kB / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.00643, allocations: 2.219 kB / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001451/0.006575, allocations: 16 kB / 0.7933 GB, free: 6.852 MB / 0.7448 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.38e-05/0.006668, allocations: 95.25 kB / 0.7934 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.006765, allocations: 42.62 kB / 0.7935 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006767, allocations: 0 / 0.7935 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.006811, allocations: 39.66 kB / 0.7935 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.007, allocations: 11.98 kB / 0.7935 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.007293, allocations: 179.9 kB / 0.7937 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.647e-05/0.007329, allocations: 65 kB / 0.7938 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.4e-05/0.007373, allocations: 10.94 kB / 0.7938 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.00745, allocations: 87.62 kB / 0.7938 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.007451, allocations: 0 / 0.7938 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.003246/0.0107, allocations: 1.887 MB / 0.7957 GB, free: 4.422 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.247998621780425]