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.0009311/0.0009311, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009063/0.0009063, allocations: 185 kB / 24.09 MB, free: 416 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.9363/0.9363, allocations: 177.1 MB / 204.5 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.698/1.698, allocations: 359 MB / 0.6055 GB, free: 10.88 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.935e-06/2.935e-06, allocations: 3.984 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/2.048e-05, allocations: 3.438 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001433/0.001453, allocations: 0.763 MB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008646/0.002318, allocations: 0.8859 MB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.002362, allocations: 0.5312 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.002388, allocations: 8.594 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.561e-05/0.002473, allocations: 12.92 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.002596, allocations: 31.84 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.816e-05/0.002674, allocations: 75.81 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.002765, allocations: 14.28 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.002855, allocations: 43.89 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.002905, allocations: 27.95 kB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.002924, allocations: 4 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.002935, allocations: 8 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.002955, allocations: 19.92 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.002979, allocations: 25.84 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.298e-05/0.003062, allocations: 51.8 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003064, allocations: 0 / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003064, allocations: 0 / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003068, allocations: 4 kB / 0.7896 GB, free: 10.15 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.0003379/0.003406, allocations: 394 kB / 0.7899 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.003442, allocations: 8.031 kB / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.003472, allocations: 16.83 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.309e-05/0.003545, allocations: 116.5 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.003561, allocations: 9.531 kB / 0.7901 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.003569, allocations: 4.375 kB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.003681, allocations: 80.22 kB / 0.7902 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.003687, allocations: 192 / 0.7902 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003695, allocations: 384 / 0.7902 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.003699, allocations: 384 / 0.7902 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.003736, allocations: 25.61 kB / 0.7902 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.003998, allocations: 284.2 kB / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.004077, allocations: 56.16 kB / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.0041, allocations: 11.69 kB / 0.7905 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.004116, allocations: 9.938 kB / 0.7905 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.004138, allocations: 41.33 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.004138, allocations: 0 / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001436/0.004282, allocations: 73.62 kB / 0.7906 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.004306, allocations: 51.41 kB / 0.7907 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/0.004377, allocations: 184.4 kB / 0.7909 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.004388, allocations: 29.7 kB / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.004431, allocations: 138.8 kB / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.004454, allocations: 23.81 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.004483, allocations: 23.38 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.004599, allocations: 0.4884 MB / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.004618, allocations: 12.66 kB / 0.7916 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.004636, allocations: 7.984 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.004676, allocations: 24.22 kB / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004677, allocations: 1.766 kB / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.07e-05/0.004748, allocations: 69.56 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.004759, allocations: 7.938 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.004763, allocations: 0 / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.004771, allocations: 0.6562 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.004847, allocations: 20.86 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.004849, allocations: 0 / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.004877, allocations: 11.95 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.004882, allocations: 0.8438 kB / 0.7917 GB, free: 7.77 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 5.808e-05/0.00494, allocations: 153.4 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.004956, allocations: 7.938 kB / 0.7919 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.004976, allocations: 16.42 kB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.004977, allocations: 1.281 kB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.004978, allocations: 0 / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.004981, allocations: 0 / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.499e-05/0.005076, allocations: 118 kB / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.005077, allocations: 0 / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.005114, allocations: 17.52 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.005115, allocations: 0 / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.00512, allocations: 4 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.005123, allocations: 9.312 kB / 0.792 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005124, allocations: 0 / 0.792 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.005244, allocations: 211.8 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.005258, allocations: 11.94 kB / 0.7922 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.005266, allocations: 1.406 kB / 0.7922 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.005308, allocations: 11.92 kB / 0.7922 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.005348, allocations: 11.98 kB / 0.7922 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.005352, allocations: 6.938 kB / 0.7923 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.005388, allocations: 131.2 kB / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005388, allocations: 0 / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000137/0.005525, allocations: 12 kB / 0.7924 GB, free: 7.016 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 6.985e-05/0.005595, allocations: 103.2 kB / 0.7925 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.019e-05/0.005665, allocations: 31.61 kB / 0.7925 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005666, allocations: 4.5 kB / 0.7925 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.0057, allocations: 37.28 kB / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.005857, allocations: 4 kB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.006109, allocations: 177.2 kB / 0.7927 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.006144, allocations: 64.69 kB / 0.7928 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.017e-05/0.006174, allocations: 5.75 kB / 0.7928 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.006239, allocations: 82.19 kB / 0.7929 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of SimCode: time 7.02e-07/0.006239, allocations: 0.625 kB / 0.7929 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of Templates: time 0.0025/0.008739, allocations: 1.453 MB / 0.7943 GB, free: 5.027 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.795574598014355]