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.0009961/0.0009961, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001716/0.001716, allocations: 161 kB / 23.82 MB, free: 0.75 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.9385/0.9385, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.761/1.761, allocations: 359 MB / 0.6052 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.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 1.513e-06/1.513e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.794e-05, allocations: 6.844 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001224/0.001242, allocations: 0.7551 MB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008004/0.002043, allocations: 0.8954 MB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.002081, allocations: 0 / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.00211, allocations: 3.938 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.967e-05/0.00219, allocations: 12.92 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.002335, allocations: 23.97 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.002423, allocations: 79.75 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.002531, allocations: 13.38 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.929e-05/0.00262, allocations: 39.91 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.002679, allocations: 35.88 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.002705, allocations: 8.594 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.002718, allocations: 8 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.002741, allocations: 12.98 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.002772, allocations: 27.91 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.002872, allocations: 51.8 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.002875, allocations: 0.9688 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.62e-07/0.002875, allocations: 0 / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.002879, allocations: 0.75 kB / 0.7891 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004259/0.003305, allocations: 402.9 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.003344, allocations: 8.031 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.00339, allocations: 12.89 kB / 0.7895 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.003496, allocations: 124.5 kB / 0.7896 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.003519, allocations: 8.375 kB / 0.7896 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.00353, allocations: 384 / 0.7896 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.003676, allocations: 84.62 kB / 0.7897 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.003682, allocations: 192 / 0.7897 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.003695, allocations: 4.359 kB / 0.7897 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.003704, allocations: 4.375 kB / 0.7897 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.691e-05/0.003761, allocations: 24.52 kB / 0.7897 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.004119, allocations: 304.1 kB / 0.79 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.004226, allocations: 60.7 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.004263, allocations: 19.7 kB / 0.7901 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.004277, allocations: 3.938 kB / 0.7901 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.004298, allocations: 41.89 kB / 0.7902 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.004299, allocations: 0 / 0.7902 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001792/0.004479, allocations: 74.23 kB / 0.7902 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.004509, allocations: 56.17 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.004594, allocations: 177.9 kB / 0.7904 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.004605, allocations: 26.86 kB / 0.7905 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.004659, allocations: 146.7 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.004683, allocations: 15.91 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.004715, allocations: 28.73 kB / 0.7907 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.004824, allocations: 496.1 kB / 0.7911 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.00485, allocations: 11.98 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.004872, allocations: 9.812 kB / 0.7912 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.004925, allocations: 35.61 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004927, allocations: 4 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.801e-05/0.005015, allocations: 65.58 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.005027, allocations: 11 kB / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005031, allocations: 448 / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005042, allocations: 0 / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.005129, allocations: 13.89 kB / 0.7913 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.005134, allocations: 4 kB / 0.7913 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.005165, allocations: 11.92 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.005171, allocations: 4 kB / 0.7913 GB, free: 7.98 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.977e-05/0.005231, allocations: 160.5 kB / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.005251, allocations: 14.33 kB / 0.7915 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.00527, allocations: 12.44 kB / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005272, allocations: 0 / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.005275, allocations: 0 / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005277, allocations: 0 / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.98e-05/0.005377, allocations: 136.7 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005378, allocations: 4.469 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.005418, allocations: 15.98 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.005419, allocations: 5.875 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.005427, allocations: 0 / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005427, allocations: 0 / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.005428, allocations: 0 / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.005558, allocations: 222.4 kB / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.005567, allocations: 3.953 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.005579, allocations: 7.938 kB / 0.7919 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.00562, allocations: 3.984 kB / 0.7919 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.005673, allocations: 11.98 kB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.005678, allocations: 8 kB / 0.7919 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.005722, allocations: 135.5 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005722, allocations: 0.5312 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001441/0.005866, allocations: 12 kB / 0.792 GB, free: 7.188 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 7.322e-05/0.00594, allocations: 100.9 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.00605, allocations: 39.61 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.006053, allocations: 0.7812 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.695e-05/0.0061, allocations: 32.86 kB / 0.7922 GB, free: 7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.006279, allocations: 12.3 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.006589, allocations: 166.7 kB / 0.7924 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.006626, allocations: 64.72 kB / 0.7924 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.006658, allocations: 6.281 kB / 0.7924 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.006702, allocations: 20.48 kB / 0.7924 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.006702, allocations: 0 / 0.7924 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of Templates: time 0.00272/0.009422, allocations: 1.428 MB / 0.7938 GB, free: 5.297 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.902036964893341]