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.00138/0.00138, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001649/0.001649, allocations: 185 kB / 24.09 MB, free: 416 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.9827/0.9827, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.881/1.881, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.595e-06/2.595e-06, allocations: 0 / 0.812 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.183e-05, allocations: 2.312 kB / 0.812 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001562/0.001594, allocations: 0.7742 MB / 0.8128 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.002534, allocations: 0.8987 MB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.002585, allocations: 3.938 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.002619, allocations: 9.281 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.252e-05/0.002712, allocations: 11.94 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.002883, allocations: 44.88 kB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.002985, allocations: 79.77 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.003102, allocations: 23.97 kB / 0.8138 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.003211, allocations: 52.75 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.756e-05/0.003289, allocations: 43.88 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.003319, allocations: 8.656 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.003333, allocations: 8 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.003363, allocations: 17.22 kB / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.003395, allocations: 23.92 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.003511, allocations: 63.78 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003513, allocations: 1.438 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003514, allocations: 0 / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.003519, allocations: 0 / 0.814 GB, free: 15.35 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.0004822/0.004002, allocations: 408.4 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.004056, allocations: 13.22 kB / 0.8144 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.004101, allocations: 12.83 kB / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.004214, allocations: 124.4 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.004239, allocations: 13.06 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.004252, allocations: 4.375 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.004444, allocations: 91.8 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.004455, allocations: 4.75 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.004466, allocations: 0 / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.004473, allocations: 4.875 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.94e-05/0.004523, allocations: 23.92 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.004915, allocations: 309.4 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.005188, allocations: 72.88 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.005222, allocations: 27.66 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.005241, allocations: 0 / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.005261, allocations: 34.58 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.005262, allocations: 0 / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001809/0.005443, allocations: 79.7 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.005471, allocations: 55.41 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.005552, allocations: 182.1 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.005562, allocations: 25.7 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.005614, allocations: 138.9 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.005638, allocations: 29.31 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.005675, allocations: 23.36 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.005797, allocations: 0.4923 MB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.005826, allocations: 4 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.005848, allocations: 17.45 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.005903, allocations: 43.53 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005905, allocations: 0.625 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.736e-05/0.006002, allocations: 70.36 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.006015, allocations: 6.344 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006019, allocations: 1.875 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.006031, allocations: 3.938 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.006109, allocations: 19.97 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.006112, allocations: 4 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.006147, allocations: 4.625 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.006152, allocations: 0 / 0.8163 GB, free: 12.86 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.78e-05/0.00623, allocations: 169.2 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.006249, allocations: 9.172 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.006276, allocations: 12.42 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.006279, allocations: 4 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.006282, allocations: 0 / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006285, allocations: 0.5312 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.0064, allocations: 122.4 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006401, allocations: 0 / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.006455, allocations: 19.92 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.006457, allocations: 1 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.006464, allocations: 8 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006465, allocations: 3.938 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.006468, allocations: 5.031 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.00661, allocations: 215.9 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.006624, allocations: 16.64 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.006634, allocations: 0 / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-05/0.006684, allocations: 12.92 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.006736, allocations: 19.97 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.006741, allocations: 5.344 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.006784, allocations: 139.2 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006784, allocations: 0 / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001434/0.006928, allocations: 16 kB / 0.817 GB, free: 12.05 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.39e-05/0.007021, allocations: 106.1 kB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.613e-05/0.007118, allocations: 35.61 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.007119, allocations: 0 / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.007168, allocations: 43.64 kB / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.007361, allocations: 12.56 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.007674, allocations: 170.8 kB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.007716, allocations: 63.34 kB / 0.8174 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.755e-05/0.007763, allocations: 9.844 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.007852, allocations: 86.19 kB / 0.8175 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.007853, allocations: 0.5625 kB / 0.8175 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of Templates: time 0.004023/0.01188, allocations: 1.843 MB / 0.8193 GB, free: 9.672 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.148130647838116]