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.00132/0.00132, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001758/0.001758, allocations: 169 kB / 24.27 MB, free: 284 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.9442/0.9442, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.945/1.945, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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.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 2.454e-06/2.454e-06, allocations: 0 / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.758e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001543/0.001571, allocations: 0.7824 MB / 0.8123 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.00248, allocations: 0.9029 MB / 0.8132 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.00253, allocations: 0 / 0.8132 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.002561, allocations: 3.938 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.174e-05/0.002643, allocations: 16.64 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.002797, allocations: 45.52 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.002895, allocations: 79.83 kB / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.003001, allocations: 23.97 kB / 0.8133 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.003105, allocations: 51.89 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.003171, allocations: 41.41 kB / 0.8134 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.003197, allocations: 8 kB / 0.8134 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.003208, allocations: 8 kB / 0.8134 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.003233, allocations: 23.91 kB / 0.8135 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.003263, allocations: 20.86 kB / 0.8135 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.003389, allocations: 71.8 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003392, allocations: 0 / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003393, allocations: 0.5938 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.003398, allocations: 0 / 0.8136 GB, free: 15.98 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.0004291/0.003827, allocations: 406 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.003863, allocations: 8.031 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.003911, allocations: 8.891 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.004036, allocations: 129.1 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.004059, allocations: 8.375 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.004072, allocations: 8.844 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.004254, allocations: 92.52 kB / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.004263, allocations: 3.938 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.004273, allocations: 0 / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.004283, allocations: 4.594 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.978e-05/0.004353, allocations: 28.66 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.004759, allocations: 332.1 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.005058, allocations: 76.16 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.005108, allocations: 29.03 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.005124, allocations: 4 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.005145, allocations: 37.39 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.005147, allocations: 0 / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002248/0.005372, allocations: 91.33 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.005403, allocations: 51.41 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.005492, allocations: 185.8 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.005504, allocations: 27.92 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.005558, allocations: 142.9 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.005579, allocations: 15.8 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.00562, allocations: 31.36 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.005734, allocations: 0.4922 MB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.83e-05/0.005772, allocations: 8 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.033e-05/0.005802, allocations: 19.27 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.005884, allocations: 47.75 kB / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.005887, allocations: 0 / 0.8158 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000401/0.006288, allocations: 69.62 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.006302, allocations: 4 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006306, allocations: 0 / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.006322, allocations: 1.406 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.006408, allocations: 27.97 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.006414, allocations: 0 / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.006453, allocations: 4.625 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.006461, allocations: 4 kB / 0.8159 GB, free: 13.44 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 7.664e-05/0.006537, allocations: 169 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.00656, allocations: 8.516 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.006587, allocations: 13.12 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.00659, allocations: 0 / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.006594, allocations: 1.25 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.006597, allocations: 0 / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.006718, allocations: 140.5 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.00672, allocations: 2.562 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.006779, allocations: 19.98 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006781, allocations: 0 / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.00679, allocations: 3.984 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.006793, allocations: 8 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.006794, allocations: 0 / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.006967, allocations: 228.3 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.006983, allocations: 19.83 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.006997, allocations: 0.8125 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.007052, allocations: 11.98 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.007119, allocations: 24.91 kB / 0.8165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.007124, allocations: 0 / 0.8165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.00717, allocations: 136.4 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00717, allocations: 4 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001564/0.007326, allocations: 12 kB / 0.8166 GB, free: 12.59 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 9.552e-05/0.007422, allocations: 96.09 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.007552, allocations: 48.31 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007554, allocations: 7.906 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.007606, allocations: 31.67 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.007824, allocations: 20.69 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.008176, allocations: 162.8 kB / 0.817 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.98e-05/0.008215, allocations: 65.41 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.448e-05/0.00826, allocations: 11.42 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.008311, allocations: 20.5 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of SimCode: time 9.12e-07/0.008312, allocations: 1.031 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of Templates: time 0.003565/0.01188, allocations: 1.719 MB / 0.8188 GB, free: 10.4 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.257853151997551]