Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001097/0.001097, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009573/0.0009573, allocations: 173 kB / 24.28 MB, free: 272 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.9443/0.9443, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.773/1.773, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 0.7872 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.631e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002253/0.002289, allocations: 0.7081 MB / 0.7879 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.003519, allocations: 0.8561 MB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.003568, allocations: 0 / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.003604, allocations: 5.344 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.003688, allocations: 7.938 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.044e-05/0.003768, allocations: 15.92 kB / 0.7887 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.003878, allocations: 40.97 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.003996, allocations: 8 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.004114, allocations: 29.47 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.004162, allocations: 15.97 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.004188, allocations: 4 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.004197, allocations: 4 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.004219, allocations: 14.05 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.004249, allocations: 8 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.004354, allocations: 35.84 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.004358, allocations: 0 / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.353e-06/0.004359, allocations: 0 / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.004364, allocations: 0 / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004639/0.004828, allocations: 374.7 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.004874, allocations: 8.031 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.004925, allocations: 8.891 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.005054, allocations: 128.5 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.005068, allocations: 384 / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.005079, allocations: 1.938 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.005278, allocations: 70.92 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005286, allocations: 192 / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005297, allocations: 384 / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.005306, allocations: 1.375 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/0.005358, allocations: 7.938 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.005755, allocations: 264.3 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/0.00585, allocations: 39.48 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.005897, allocations: 16.91 kB / 0.7898 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.005907, allocations: 0 / 0.7898 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.005936, allocations: 33.39 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.005938, allocations: 2.531 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002044/0.006142, allocations: 53.66 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.006178, allocations: 55.41 kB / 0.7899 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.006289, allocations: 165.9 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.006304, allocations: 25.7 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.006363, allocations: 138.8 kB / 0.7902 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.00639, allocations: 7.938 kB / 0.7902 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.00643, allocations: 24.09 kB / 0.7902 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.006568, allocations: 492.1 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.006597, allocations: 4.531 kB / 0.7907 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.006618, allocations: 13.58 kB / 0.7907 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/0.006668, allocations: 15.69 kB / 0.7907 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00667, allocations: 0 / 0.7907 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000101/0.006771, allocations: 45.59 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.006796, allocations: 17.8 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.006802, allocations: 0.6562 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.006818, allocations: 1.094 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.006934, allocations: 8 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.006941, allocations: 0 / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.006981, allocations: 9.141 kB / 0.7908 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.006988, allocations: 0 / 0.7908 GB, free: 8.773 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.569e-05/0.007073, allocations: 162 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.0071, allocations: 0 / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.00713, allocations: 11.94 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.007132, allocations: 0 / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.007136, allocations: 1.75 kB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.007141, allocations: 4.312 kB / 0.791 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.007279, allocations: 116.6 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.007282, allocations: 3.984 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.007352, allocations: 17.28 kB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007355, allocations: 0 / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.007363, allocations: 0 / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.007366, allocations: 3.938 kB / 0.7911 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.00737, allocations: 9.078 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.007528, allocations: 191.9 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.007539, allocations: 4.938 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.007554, allocations: 3.984 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.007631, allocations: 9.438 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.007679, allocations: 7.984 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.007683, allocations: 0 / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.007741, allocations: 131.2 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.007741, allocations: 1.25 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002481/0.007989, allocations: 8 kB / 0.7915 GB, free: 8.043 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001258/0.008115, allocations: 98.33 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.00823, allocations: 23.62 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.008232, allocations: 0 / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.008266, allocations: 19.62 kB / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.008568, allocations: 7.984 kB / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.008959, allocations: 138.6 kB / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.704e-05/0.009006, allocations: 61.28 kB / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.009035, allocations: 0 / 0.7918 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.009074, allocations: 12.5 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/0.009075, allocations: 0 / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of Templates: time 0.00351/0.01258, allocations: 0.7366 MB / 0.7925 GB, free: 6.922 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_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.213904991047457]