Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.0009177/0.0009177, allocations: 80.39 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.001093/0.001093, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9209/0.9209, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.856/1.856, allocations: 359 MB / 0.6063 GB, free: 10.85 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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.868e-05, allocations: 4.719 kB / 0.7884 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002125/0.002154, allocations: 0.7573 MB / 0.7891 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003444, allocations: 0.8876 MB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.003507, allocations: 4 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.003545, allocations: 7.922 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.671e-05/0.003642, allocations: 7.875 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.003815, allocations: 32.73 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.003927, allocations: 71.83 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004042, allocations: 16.64 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.004149, allocations: 47.83 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.362e-05/0.004223, allocations: 33.28 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.004248, allocations: 4 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.004262, allocations: 8 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.004292, allocations: 21.28 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.004321, allocations: 15.92 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.004438, allocations: 51.8 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00444, allocations: 0 / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004441, allocations: 1.062 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.004446, allocations: 4 kB / 0.7903 GB, free: 10.16 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004671/0.004913, allocations: 393.8 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.004955, allocations: 8.031 kB / 0.7907 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.005001, allocations: 12.89 kB / 0.7907 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.00513, allocations: 124.5 kB / 0.7908 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.005153, allocations: 5.594 kB / 0.7908 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.005166, allocations: 8.312 kB / 0.7908 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.005347, allocations: 80.48 kB / 0.7909 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.005357, allocations: 192 / 0.7909 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.005369, allocations: 4.375 kB / 0.7909 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.005375, allocations: 384 / 0.7909 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.806e-05/0.005433, allocations: 21.52 kB / 0.7909 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.005829, allocations: 288.2 kB / 0.7912 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.005955, allocations: 57.72 kB / 0.7913 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.005992, allocations: 15.75 kB / 0.7913 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.006008, allocations: 4 kB / 0.7913 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.006032, allocations: 37.33 kB / 0.7913 GB, free: 9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.006034, allocations: 0 / 0.7913 GB, free: 9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002051/0.006239, allocations: 69.56 kB / 0.7914 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.006274, allocations: 60.12 kB / 0.7914 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.445e-05/0.006368, allocations: 177.9 kB / 0.7916 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.006384, allocations: 27.36 kB / 0.7916 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.006444, allocations: 142.9 kB / 0.7918 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.006471, allocations: 23.77 kB / 0.7918 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.006521, allocations: 23.38 kB / 0.7918 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.006668, allocations: 0.4897 MB / 0.7923 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.006699, allocations: 8 kB / 0.7923 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.006723, allocations: 7.984 kB / 0.7923 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.647e-05/0.006789, allocations: 29.38 kB / 0.7923 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006792, allocations: 0 / 0.7923 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001236/0.006915, allocations: 69.62 kB / 0.7924 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.006932, allocations: 7.938 kB / 0.7924 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006937, allocations: 1.062 kB / 0.7924 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.006946, allocations: 0 / 0.7924 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.007042, allocations: 15.98 kB / 0.7924 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.007045, allocations: 1.844 kB / 0.7924 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.007088, allocations: 3.953 kB / 0.7924 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.007095, allocations: 4 kB / 0.7924 GB, free: 7.781 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 (6): * Single equations (assignments): 6 * 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.432e-05/0.007179, allocations: 160.5 kB / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.007215, allocations: 13.94 kB / 0.7926 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.007245, allocations: 12.44 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007247, allocations: 0 / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.007249, allocations: 448 / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007252, allocations: 0 / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.00741, allocations: 121.2 kB / 0.7927 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.007414, allocations: 4.594 kB / 0.7927 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.007481, allocations: 16.52 kB / 0.7928 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.007484, allocations: 0.7188 kB / 0.7928 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.007491, allocations: 0 / 0.7928 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-06/0.007495, allocations: 8.453 kB / 0.7928 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007496, allocations: 0 / 0.7928 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.007684, allocations: 205.3 kB / 0.793 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.0077, allocations: 11.95 kB / 0.793 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.007716, allocations: 3.984 kB / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.007788, allocations: 4.469 kB / 0.793 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.007839, allocations: 11.98 kB / 0.793 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.007847, allocations: 5.375 kB / 0.793 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.116e-05/0.007908, allocations: 143.5 kB / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007908, allocations: 0 / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002418/0.00815, allocations: 9.156 kB / 0.7931 GB, free: 7.02 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 (6): * Single equations (assignments): 6 * 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.0001285/0.008279, allocations: 103.2 kB / 0.7932 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.008393, allocations: 36.56 kB / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008395, allocations: 0 / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.179e-05/0.008447, allocations: 32.45 kB / 0.7933 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.008724, allocations: 15.67 kB / 0.7933 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003683/0.009092, allocations: 169.8 kB / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.587e-05/0.009138, allocations: 63.94 kB / 0.7935 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.009185, allocations: 6.438 kB / 0.7936 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.009273, allocations: 79.06 kB / 0.7936 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.009273, allocations: 0 / 0.7936 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of Templates: time 0.003922/0.0132, allocations: 1.482 MB / 0.7951 GB, free: 5.016 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.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: 4.945845764130354]