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.0008778/0.0008778, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009331/0.0009331, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 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.986/0.986, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.848/1.848, allocations: 359 MB / 0.6052 GB, free: 11.03 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 1.793e-06/1.793e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.867e-05, allocations: 9.125 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001124/0.001143, allocations: 0.7215 MB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007621/0.001905, allocations: 0.8481 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.001938, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.001969, allocations: 4.719 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.002034, allocations: 9.5 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.329e-05/0.002097, allocations: 15.98 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.002168, allocations: 43.84 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.00227, allocations: 8 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.002346, allocations: 25.19 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.777e-05/0.002384, allocations: 15.97 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.002405, allocations: 4 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.002413, allocations: 7.938 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.002429, allocations: 5.594 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.002455, allocations: 11.98 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.618e-05/0.002541, allocations: 31.84 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002544, allocations: 0 / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002544, allocations: 3.438 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.002549, allocations: 0 / 0.7889 GB, free: 10.68 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.0003555/0.002904, allocations: 376.6 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.002943, allocations: 8.031 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.002976, allocations: 8.891 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.003058, allocations: 120.5 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.003069, allocations: 384 / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.00308, allocations: 384 / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.003212, allocations: 67.69 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.00322, allocations: 192 / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.00323, allocations: 0.9688 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.003237, allocations: 384 / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.003272, allocations: 17.45 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.003555, allocations: 267.7 kB / 0.7897 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.003787, allocations: 27.06 kB / 0.7897 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.003821, allocations: 25.05 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.003831, allocations: 0 / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.00385, allocations: 33.39 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.003851, allocations: 0.625 kB / 0.7898 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001587/0.00401, allocations: 53.56 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.00404, allocations: 56.72 kB / 0.7899 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.004115, allocations: 165.9 kB / 0.7901 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.004124, allocations: 25.7 kB / 0.7901 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.004175, allocations: 140.3 kB / 0.7902 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.004194, allocations: 7.953 kB / 0.7902 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.004222, allocations: 19.38 kB / 0.7902 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.004339, allocations: 0.4884 MB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.004356, allocations: 4.562 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.004368, allocations: 0 / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.004404, allocations: 21.34 kB / 0.7907 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.004407, allocations: 0 / 0.7907 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.205e-05/0.004469, allocations: 53.56 kB / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.004485, allocations: 12.56 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.00449, allocations: 0 / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.004506, allocations: 1.969 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.004585, allocations: 11.98 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.00459, allocations: 0 / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.004611, allocations: 4 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004617, allocations: 0 / 0.7908 GB, free: 8.496 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 5.61e-05/0.004673, allocations: 161.1 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.004685, allocations: 0.7188 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.004709, allocations: 17.22 kB / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.004714, allocations: 0 / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.004718, allocations: 0 / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.004721, allocations: 0 / 0.791 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.945e-05/0.00481, allocations: 121.2 kB / 0.7911 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.004812, allocations: 4 kB / 0.7911 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.004839, allocations: 17.05 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.004842, allocations: 0 / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.004848, allocations: 0.75 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.004849, allocations: 3.938 kB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.00485, allocations: 1.031 kB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.438e-05/0.004944, allocations: 191.9 kB / 0.7913 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.00495, allocations: 4.5 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.004958, allocations: 0 / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/0.004996, allocations: 17.02 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.00503, allocations: 0 / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.005032, allocations: 4.906 kB / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.00507, allocations: 135.2 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00507, allocations: 3.938 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001341/0.005204, allocations: 8.844 kB / 0.7915 GB, free: 7.762 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 6.345e-05/0.005268, allocations: 97.41 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.005346, allocations: 19.67 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.005347, allocations: 0 / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.005369, allocations: 19.69 kB / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.005549, allocations: 10.73 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.005812, allocations: 138.1 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.005852, allocations: 55.36 kB / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.005872, allocations: 3.984 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.005904, allocations: 17.94 kB / 0.7918 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.005905, allocations: 0 / 0.7918 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of Templates: time 0.002279/0.008184, allocations: 0.7357 MB / 0.7925 GB, free: 6.641 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.1905037690885365]