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.001352/0.001352, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001501/0.001501, allocations: 160.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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.506/1.506, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.955/2.955, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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.505e-06/2.505e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.364e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002059/0.002093, allocations: 0.7671 MB / 0.9822 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003272, allocations: 0.8782 MB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.003321, allocations: 0 / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.035e-05/0.003361, allocations: 11.92 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.003467, allocations: 11.88 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.003674, allocations: 47.81 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003813, allocations: 83.81 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.00393, allocations: 23.92 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.004049, allocations: 43.91 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.004141, allocations: 43.88 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.004172, allocations: 8 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.004196, allocations: 8 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.004234, allocations: 23.91 kB / 0.9833 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.004276, allocations: 23.92 kB / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.00444, allocations: 99.62 kB / 0.9835 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004443, allocations: 0 / 0.9835 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004444, allocations: 8 kB / 0.9835 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.00445, allocations: 0 / 0.9835 GB, free: 9.852 MB / 0.9356 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.0006907/0.005141, allocations: 318 kB / 0.9838 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.005202, allocations: 8.031 kB / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.005248, allocations: 8.891 kB / 0.9838 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.005392, allocations: 113.7 kB / 0.9839 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.005414, allocations: 8.375 kB / 0.9839 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.005434, allocations: 8.359 kB / 0.9839 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.005787, allocations: 113.4 kB / 0.984 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.005807, allocations: 3.938 kB / 0.984 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.005821, allocations: 0 / 0.984 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.005826, allocations: 0 / 0.984 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.006237, allocations: 99.84 kB / 0.9841 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.006783, allocations: 276.3 kB / 0.9844 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.007455, allocations: 114.5 kB / 0.9845 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.007672, allocations: 60.75 kB / 0.9845 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.007695, allocations: 0 / 0.9845 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.007726, allocations: 34.56 kB / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.007727, allocations: 0 / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0007471/0.008474, allocations: 189.4 kB / 0.9848 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.008528, allocations: 55.41 kB / 0.9848 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.008648, allocations: 121.8 kB / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.008668, allocations: 25.7 kB / 0.985 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.008736, allocations: 92.09 kB / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.008771, allocations: 27.77 kB / 0.9851 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.008821, allocations: 21.72 kB / 0.9851 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.00896, allocations: 330.8 kB / 0.9854 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.009176, allocations: 43.95 kB / 0.9854 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.00936, allocations: 43.95 kB / 0.9855 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.009737, allocations: 96.77 kB / 0.9856 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.009741, allocations: 8 kB / 0.9856 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004503/0.01019, allocations: 137.5 kB / 0.9857 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01021, allocations: 4 kB / 0.9857 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.01021, allocations: 0 / 0.9857 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.01022, allocations: 3.938 kB / 0.9857 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.01041, allocations: 23.97 kB / 0.9858 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.01041, allocations: 8 kB / 0.9858 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.01054, allocations: 11.97 kB / 0.9858 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.01055, allocations: 4 kB / 0.9858 GB, free: 7.316 MB / 0.9356 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 0.0001085/0.01066, allocations: 117.8 kB / 0.9859 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.01069, allocations: 7.953 kB / 0.9859 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.01073, allocations: 16.42 kB / 0.9859 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01073, allocations: 0 / 0.9859 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.01074, allocations: 3.984 kB / 0.9859 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01074, allocations: 7.938 kB / 0.9859 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.01092, allocations: 137.2 kB / 0.9861 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.01092, allocations: 0 / 0.9861 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.01109, allocations: 31.91 kB / 0.9861 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01109, allocations: 0 / 0.9861 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01111, allocations: 0 / 0.9861 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01111, allocations: 0 / 0.9861 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01111, allocations: 0 / 0.9861 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.01162, allocations: 243.9 kB / 0.9863 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.01163, allocations: 3.953 kB / 0.9863 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.01165, allocations: 0 / 0.9863 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.01181, allocations: 15.98 kB / 0.9863 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.0119, allocations: 23.97 kB / 0.9864 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.01191, allocations: 3.984 kB / 0.9864 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.01197, allocations: 99.64 kB / 0.9865 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01197, allocations: 0 / 0.9865 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002593/0.01223, allocations: 15.94 kB / 0.9865 GB, free: 6.547 MB / 0.9356 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.000184/0.01242, allocations: 103.7 kB / 0.9866 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.01292, allocations: 99.91 kB / 0.9867 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01292, allocations: 0 / 0.9867 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.01316, allocations: 67.86 kB / 0.9867 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.01359, allocations: 18.28 kB / 0.9867 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.0141, allocations: 173.4 kB / 0.9869 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.539e-05/0.01419, allocations: 71.58 kB / 0.987 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.375e-05/0.01425, allocations: 12 kB / 0.987 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.01433, allocations: 20.48 kB / 0.987 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.01433, allocations: 0 / 0.987 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of Templates: time 0.005041/0.01937, allocations: 1.698 MB / 0.9887 GB, free: 4.25 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.422037307173014]