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.001222/0.001222, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001522/0.001522, allocations: 161 kB / 23.82 MB, free: 0.75 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.9158/0.9158, allocations: 177.1 MB / 204.2 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.912/1.912, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.686e-05, allocations: 3.625 kB / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001261/0.001278, allocations: 0.7806 MB / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008183/0.002096, allocations: 0.9074 MB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.002135, allocations: 0 / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.002164, allocations: 11.88 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.002244, allocations: 7.875 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.002405, allocations: 41.64 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.002502, allocations: 87.75 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.002598, allocations: 19.98 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.002685, allocations: 49.36 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.002748, allocations: 43.88 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.002777, allocations: 8 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.002791, allocations: 8 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.002813, allocations: 20.45 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.002844, allocations: 31.89 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.002945, allocations: 61.17 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002947, allocations: 0 / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002948, allocations: 0 / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.002951, allocations: 0 / 0.8136 GB, free: 15.66 MB / 0.7761 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.0003867/0.003338, allocations: 401.5 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.003374, allocations: 19.95 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.003415, allocations: 14.27 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.003506, allocations: 120.5 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.003526, allocations: 4.375 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.003539, allocations: 4.375 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.0037, allocations: 96.3 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.003708, allocations: 3.938 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.003719, allocations: 0.5312 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.003726, allocations: 5.328 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.746e-05/0.003794, allocations: 39.91 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.004142, allocations: 326 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.004412, allocations: 79.08 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.004458, allocations: 27.67 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.004472, allocations: 3.938 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.004494, allocations: 37.92 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.004496, allocations: 1.938 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002021/0.004698, allocations: 77.67 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.004726, allocations: 59.34 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.004802, allocations: 181.9 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.004814, allocations: 27.7 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.004862, allocations: 142.8 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.004885, allocations: 23.8 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.004919, allocations: 31.36 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.005031, allocations: 0.4883 MB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.005063, allocations: 12.58 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.005092, allocations: 15.98 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.186e-05/0.005154, allocations: 33.39 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005156, allocations: 0 / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001002/0.005256, allocations: 78.09 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.005267, allocations: 8.906 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.005271, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005281, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.005353, allocations: 16.77 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.005358, allocations: 5.188 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.005397, allocations: 11.98 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.005403, allocations: 0 / 0.8159 GB, free: 13.11 MB / 0.7761 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.47e-05/0.005467, allocations: 161.4 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.005489, allocations: 11.95 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.005511, allocations: 13.8 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.005513, allocations: 4 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.005517, allocations: 0 / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005519, allocations: 0 / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.005638, allocations: 145.6 kB / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005639, allocations: 0 / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.005695, allocations: 25.83 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.005697, allocations: 4 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.005705, allocations: 4 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005706, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005707, allocations: 0 / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.005853, allocations: 224.9 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.005866, allocations: 19.88 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.005878, allocations: 0 / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.005925, allocations: 5.125 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.005986, allocations: 23.97 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.005993, allocations: 7.984 kB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.006036, allocations: 136.1 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006036, allocations: 0 / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001446/0.00618, allocations: 13.53 kB / 0.8166 GB, free: 12.27 MB / 0.7761 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 6.432e-05/0.006244, allocations: 99.19 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.006357, allocations: 52.3 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006359, allocations: 0 / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.006409, allocations: 36.95 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.006605, allocations: 29.34 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.006897, allocations: 168.2 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.367e-05/0.006931, allocations: 64 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.882e-05/0.00697, allocations: 7.188 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.007022, allocations: 26.89 kB / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of SimCode: time 8.81e-07/0.007023, allocations: 0 / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of Templates: time 0.003332/0.01036, allocations: 1.808 MB / 0.8189 GB, free: 9.961 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] 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","",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.034635907039046]