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.0009496/0.0009496, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001606/0.001606, allocations: 163.7 kB / 24.86 MB, free: 9.285 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.9487/0.9487, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.782/1.782, allocations: 359 MB / 0.6063 GB, free: 10.89 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 2.836e-06/2.836e-06, allocations: 0 / 0.7884 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/3.041e-05, allocations: 10.19 kB / 0.7884 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002091/0.002121, allocations: 0.7196 MB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.00317, allocations: 0.8523 MB / 0.7899 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.003209, allocations: 0 / 0.7899 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.003236, allocations: 8.688 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.003309, allocations: 10.53 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.376e-05/0.003373, allocations: 7.984 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.174e-05/0.003455, allocations: 47.91 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.003545, allocations: 3.984 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.104e-05/0.003626, allocations: 27.91 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.003666, allocations: 15.98 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.003683, allocations: 4 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-06/0.003691, allocations: 5.625 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.003712, allocations: 11.88 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.003734, allocations: 11.98 kB / 0.7901 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.1e-05/0.003815, allocations: 35.83 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.003818, allocations: 0.5938 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.293e-06/0.003819, allocations: 0 / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.003822, allocations: 0.6875 kB / 0.7901 GB, free: 10.42 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.0003813/0.004204, allocations: 373.5 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.004244, allocations: 12.03 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.004272, allocations: 4.891 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/0.004367, allocations: 117.7 kB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.004379, allocations: 8.359 kB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.004386, allocations: 384 / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.004522, allocations: 64.31 kB / 0.7906 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.004529, allocations: 192 / 0.7906 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.004536, allocations: 384 / 0.7906 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.004543, allocations: 10.22 kB / 0.7907 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.004568, allocations: 7.938 kB / 0.7907 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.004823, allocations: 244.3 kB / 0.7909 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/0.004887, allocations: 31.12 kB / 0.7909 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.004913, allocations: 17.3 kB / 0.7909 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.004923, allocations: 4 kB / 0.7909 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.004945, allocations: 37.33 kB / 0.791 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.004946, allocations: 0 / 0.791 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001352/0.005081, allocations: 50.16 kB / 0.791 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.00511, allocations: 53.34 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.005186, allocations: 165.9 kB / 0.7912 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.005198, allocations: 25.7 kB / 0.7913 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.005256, allocations: 134.8 kB / 0.7914 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.005278, allocations: 11.94 kB / 0.7914 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.005317, allocations: 19.38 kB / 0.7914 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.005457, allocations: 498.7 kB / 0.7919 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.005475, allocations: 7.938 kB / 0.7919 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.005489, allocations: 4.125 kB / 0.7919 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.005527, allocations: 23.77 kB / 0.7919 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.005529, allocations: 0 / 0.7919 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.468e-05/0.005603, allocations: 45.64 kB / 0.792 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.005615, allocations: 4.531 kB / 0.792 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005619, allocations: 4 kB / 0.792 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.005628, allocations: 4.656 kB / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.005707, allocations: 12.52 kB / 0.792 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.00571, allocations: 0 / 0.792 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.005742, allocations: 5.625 kB / 0.792 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.005748, allocations: 0 / 0.792 GB, free: 8.27 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 7.379e-05/0.005822, allocations: 164.5 kB / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.005844, allocations: 4.594 kB / 0.7922 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.005867, allocations: 8 kB / 0.7922 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.005873, allocations: 8.531 kB / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.005875, allocations: 0.7812 kB / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.005877, allocations: 0 / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.005999, allocations: 101.2 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006, allocations: 0.9375 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.006042, allocations: 8 kB / 0.7923 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.006044, allocations: 0.75 kB / 0.7923 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.006051, allocations: 4 kB / 0.7923 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.006053, allocations: 5.078 kB / 0.7923 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006054, allocations: 0 / 0.7923 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.006184, allocations: 191.8 kB / 0.7925 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.006192, allocations: 4.828 kB / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.006203, allocations: 4 kB / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.006265, allocations: 9.469 kB / 0.7925 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.006301, allocations: 7.922 kB / 0.7925 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.006305, allocations: 0 / 0.7925 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.006351, allocations: 127.2 kB / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006351, allocations: 1.062 kB / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001505/0.006501, allocations: 12 kB / 0.7926 GB, free: 7.57 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 9.601e-05/0.006597, allocations: 97.23 kB / 0.7927 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.73e-05/0.006675, allocations: 15.69 kB / 0.7927 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006676, allocations: 3.938 kB / 0.7928 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.811e-05/0.006704, allocations: 23.61 kB / 0.7928 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.006914, allocations: 6.344 kB / 0.7928 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.00715, allocations: 134.1 kB / 0.7929 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.007182, allocations: 59.34 kB / 0.793 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.082e-05/0.007203, allocations: 2.375 kB / 0.793 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.007255, allocations: 82.19 kB / 0.793 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.007256, allocations: 0 / 0.793 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of Templates: time 0.002181/0.009437, allocations: 0.8151 MB / 0.7938 GB, free: 6.309 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.155066972132772]