Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001158/0.001158, allocations: 81.95 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.001168/0.001168, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9677/0.9677, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.872/1.872, allocations: 377.9 MB / 0.6247 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 178] 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 3.938 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/3.027e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001664/0.001694, allocations: 0.7705 MB / 0.8136 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.002698, allocations: 0.9024 MB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.002751, allocations: 4 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.002783, allocations: 4.719 kB / 0.8144 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.378e-05/0.002876, allocations: 14.22 kB / 0.8145 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.003031, allocations: 43.88 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.003137, allocations: 87.77 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.003252, allocations: 19.97 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.003375, allocations: 47.91 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.003454, allocations: 35.94 kB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.003478, allocations: 9.344 kB / 0.8147 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.003495, allocations: 8 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.003523, allocations: 23.91 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.003553, allocations: 23.91 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.003667, allocations: 69.31 kB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.00367, allocations: 4 kB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.503e-06/0.003671, allocations: 0 / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003675, allocations: 0 / 0.8148 GB, free: 15.41 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.0004573/0.004133, allocations: 406.1 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.004173, allocations: 12.02 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.004215, allocations: 8.891 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.004339, allocations: 124.5 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.004363, allocations: 9.281 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.004373, allocations: 384 / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.00454, allocations: 92.05 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.004549, allocations: 7.938 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.004559, allocations: 4.531 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.004564, allocations: 1.281 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.774e-05/0.004611, allocations: 27.36 kB / 0.8155 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.004968, allocations: 312.5 kB / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.005219, allocations: 72.52 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.005255, allocations: 24.83 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.00527, allocations: 0 / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.005296, allocations: 37.39 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.005298, allocations: 5.031 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001957/0.005494, allocations: 77.66 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.005531, allocations: 52.44 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/0.005623, allocations: 177.8 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.005638, allocations: 29.7 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.005702, allocations: 135.8 kB / 0.8164 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.005729, allocations: 27.78 kB / 0.8164 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.005771, allocations: 28.64 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.005919, allocations: 0.4884 MB / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.005945, allocations: 8 kB / 0.8169 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.005969, allocations: 8.828 kB / 0.8169 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.194e-05/0.006031, allocations: 44 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.006032, allocations: 1.188 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001017/0.006134, allocations: 73.62 kB / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.006147, allocations: 5.344 kB / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.006158, allocations: 0 / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.006171, allocations: 3.984 kB / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.006261, allocations: 25.5 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.006264, allocations: 0 / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.0063, allocations: 4 kB / 0.8171 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006306, allocations: 0 / 0.8171 GB, free: 12.93 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,add1.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 9.197e-05/0.006398, allocations: 175.2 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.00642, allocations: 7.953 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.006445, allocations: 16.38 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.006446, allocations: 0 / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.006449, allocations: 0 / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006452, allocations: 0 / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.006571, allocations: 121.2 kB / 0.8174 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.006571, allocations: 0.5 kB / 0.8174 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.006628, allocations: 24.45 kB / 0.8174 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.00663, allocations: 0 / 0.8174 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.006638, allocations: 5.938 kB / 0.8174 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.00664, allocations: 0 / 0.8174 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.006641, allocations: 0 / 0.8174 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.006796, allocations: 215.8 kB / 0.8176 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.006811, allocations: 20.67 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.006825, allocations: 7.984 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.118e-05/0.006876, allocations: 8.844 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.006936, allocations: 23.97 kB / 0.8177 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.006941, allocations: 0 / 0.8177 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.006988, allocations: 135.8 kB / 0.8178 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006988, allocations: 2.812 kB / 0.8178 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001587/0.007147, allocations: 16 kB / 0.8178 GB, free: 12.12 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 (add1.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.0001033/0.00725, allocations: 99.23 kB / 0.8179 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.007358, allocations: 35.61 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.007361, allocations: 4 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.007411, allocations: 42.36 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.007607, allocations: 12 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.00789, allocations: 166.8 kB / 0.8181 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.219e-05/0.007932, allocations: 59.34 kB / 0.8182 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.007976, allocations: 12.22 kB / 0.8182 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.00807, allocations: 86.19 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.008071, allocations: 0 / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.003873/0.01194, allocations: 1.887 MB / 0.8201 GB, free: 9.699 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.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.225964599289]