Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001496/0.001496, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.001866/0.001866, allocations: 173 kB / 24.06 MB, free: 448 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 1.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.074/2.074, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.224e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001927/0.001949, allocations: 0.7869 MB / 0.8802 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003189, allocations: 0.9004 MB / 0.881 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.003248, allocations: 4 kB / 0.8811 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.003285, allocations: 8.578 kB / 0.8811 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.003394, allocations: 8.859 kB / 0.8811 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.00358, allocations: 50.5 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.003703, allocations: 83.83 kB / 0.8812 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.003817, allocations: 27.91 kB / 0.8812 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.003927, allocations: 43.91 kB / 0.8813 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.004008, allocations: 39.88 kB / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.004035, allocations: 8 kB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.465e-05/0.004049, allocations: 8 kB / 0.8813 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.004082, allocations: 28.62 kB / 0.8813 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.004114, allocations: 19.92 kB / 0.8814 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.004239, allocations: 69.38 kB / 0.8814 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004242, allocations: 4 kB / 0.8814 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004242, allocations: 0 / 0.8814 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.004249, allocations: 0 / 0.8814 GB, free: 3.973 MB / 0.8386 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.0004823/0.004731, allocations: 408.8 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.004768, allocations: 9.375 kB / 0.8818 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.004813, allocations: 12.89 kB / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.004924, allocations: 124.5 kB / 0.882 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.004947, allocations: 8.375 kB / 0.882 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.004959, allocations: 1.969 kB / 0.882 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.005162, allocations: 93.52 kB / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.005173, allocations: 7.875 kB / 0.8821 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.005185, allocations: 12 kB / 0.8821 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.005195, allocations: 0 / 0.8821 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/0.005265, allocations: 19.98 kB / 0.8821 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.005681, allocations: 300.2 kB / 0.8824 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.00601, allocations: 67.09 kB / 0.8825 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.006062, allocations: 31.66 kB / 0.8825 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.006077, allocations: 7.938 kB / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.006104, allocations: 37.39 kB / 0.8825 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.006106, allocations: 0 / 0.8825 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002343/0.00634, allocations: 77.56 kB / 0.8826 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.006375, allocations: 55.39 kB / 0.8827 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.006475, allocations: 177.9 kB / 0.8828 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.006491, allocations: 29.7 kB / 0.8828 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.006553, allocations: 138.8 kB / 0.883 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.006583, allocations: 23.78 kB / 0.883 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.006635, allocations: 35.36 kB / 0.883 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.00678, allocations: 0.4884 MB / 0.8835 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.006814, allocations: 8 kB / 0.8835 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.006846, allocations: 7.984 kB / 0.8835 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/0.006922, allocations: 35.61 kB / 0.8836 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.006924, allocations: 0 / 0.8836 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001408/0.007064, allocations: 69.61 kB / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.007078, allocations: 4 kB / 0.8836 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007082, allocations: 0 / 0.8836 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.007091, allocations: 4 kB / 0.8836 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.007206, allocations: 19.98 kB / 0.8837 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.00721, allocations: 3.984 kB / 0.8837 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.007268, allocations: 11.95 kB / 0.8837 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.007277, allocations: 0 / 0.8837 GB, free: 1.484 MB / 0.8386 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 8.938e-05/0.007366, allocations: 160.5 kB / 0.8838 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.007405, allocations: 15.94 kB / 0.8838 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.007434, allocations: 16.42 kB / 0.8839 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007436, allocations: 0 / 0.8839 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.007438, allocations: 0 / 0.8839 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007441, allocations: 4 kB / 0.8839 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.007602, allocations: 125.2 kB / 0.884 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.007604, allocations: 0 / 0.884 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.007695, allocations: 31.84 kB / 0.884 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.007697, allocations: 0 / 0.884 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.007706, allocations: 0 / 0.884 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007707, allocations: 0 / 0.884 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007709, allocations: 0 / 0.884 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.007918, allocations: 215.9 kB / 0.8842 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.007937, allocations: 15.83 kB / 0.8842 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.007953, allocations: 4 kB / 0.8842 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.008052, allocations: 7.984 kB / 0.8842 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.008133, allocations: 27.97 kB / 0.8843 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.008141, allocations: 0 / 0.8843 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.65e-05/0.008208, allocations: 139.1 kB / 0.8844 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.008208, allocations: 0 / 0.8844 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002782/0.008486, allocations: 12 kB / 0.8844 GB, free: 0.6641 MB / 0.8386 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.0001089/0.008595, allocations: 107.2 kB / 0.8845 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.008742, allocations: 36.3 kB / 0.8845 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008744, allocations: 0 / 0.8845 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.008823, allocations: 47.72 kB / 0.8846 GB, free: 472 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.009141, allocations: 13.55 kB / 0.8846 GB, free: 460 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.009539, allocations: 166.8 kB / 0.8848 GB, free: 260 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.009589, allocations: 63.34 kB / 0.8848 GB, free: 176 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.246e-05/0.009651, allocations: 8 kB / 0.8848 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.009772, allocations: 90.19 kB / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of SimCode: time 9.62e-07/0.009773, allocations: 0 / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of Templates: time 0.004561/0.01433, allocations: 1.891 MB / 0.8868 GB, free: 14.21 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.573052066378295]