Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 104.6 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 195.7 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 74.25 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2408, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002133/0.243, allocations: 0.6978 MB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.244, allocations: 0.8749 MB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.2441, allocations: 4 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.2441, allocations: 3.938 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.093e-05/0.2442, allocations: 7.922 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.2444, allocations: 23.91 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.354e-05/0.2445, allocations: 35.92 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.2446, allocations: 11.98 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.2447, allocations: 15.94 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.2447, allocations: 27.91 kB / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2447, allocations: 4 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.2448, allocations: 4 kB / 0.7865 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.2448, allocations: 7.938 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.2448, allocations: 19.91 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.666e-05/0.2449, allocations: 39.88 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2449, allocations: 4 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.172e-06/0.245, allocations: 0 / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.245, allocations: 0 / 0.7865 GB, free: 1.371 MB / 0.6544 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.0004661/0.2454, allocations: 363.3 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2455, allocations: 16.02 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.2455, allocations: 4.844 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2456, allocations: 168.3 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2456, allocations: 384 / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.2457, allocations: 384 / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.2459, allocations: 78.14 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2459, allocations: 4.188 kB / 0.7871 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2459, allocations: 3.938 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2459, allocations: 0 / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.2462, allocations: 67.86 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.2465, allocations: 268.8 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.2468, allocations: 66.47 kB / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.2469, allocations: 36.92 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2469, allocations: 0 / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.247, allocations: 30.56 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.247, allocations: 0 / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.3829/0.6299, allocations: 132 kB / 0.7877 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.63, allocations: 52.81 kB / 0.7878 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/0.6301, allocations: 112 kB / 0.7879 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.6301, allocations: 25.7 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.6301, allocations: 88.2 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.6302, allocations: 8.375 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.6302, allocations: 14.14 kB / 0.788 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.6302, allocations: 319.7 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.6304, allocations: 33.75 kB / 0.7883 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.6305, allocations: 32.31 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.6307, allocations: 67.98 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6307, allocations: 9.156 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002811/0.631, allocations: 96 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6311, allocations: 2.719 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6311, allocations: 0 / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.6311, allocations: 2.75 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.6312, allocations: 17.77 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6312, allocations: 2.688 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.6313, allocations: 15.12 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.6313, allocations: 4.156 kB / 0.7886 GB, free: 48.38 MB / 0.6544 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 4.989e-05/0.6314, allocations: 107.3 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.6314, allocations: 5.281 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.6315, allocations: 10.69 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6315, allocations: 3.562 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6315, allocations: 0 / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6315, allocations: 4.031 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.6316, allocations: 171.8 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6316, allocations: 0 / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.285e-05/0.6317, allocations: 15.81 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.6318, allocations: 3.844 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.6318, allocations: 4.688 kB / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.6318, allocations: 0 / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6318, allocations: 0 / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.6321, allocations: 203.7 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.6321, allocations: 79.23 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.6321, allocations: 9.656 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.6322, allocations: 16.22 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.6323, allocations: 3.031 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.6323, allocations: 3.188 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.624e-05/0.6323, allocations: 86.88 kB / 0.7893 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6323, allocations: 0 / 0.7893 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002105/0.6325, allocations: 6.406 kB / 0.7893 GB, free: 47.76 MB / 0.6544 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 0.0001152/0.6327, allocations: 106.6 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.633, allocations: 70.56 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.633, allocations: 1.281 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.6331, allocations: 41.2 kB / 0.7895 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.6335, allocations: 12.33 kB / 0.7895 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.6338, allocations: 120 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.6339, allocations: 0.6846 MB / 0.7903 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.6339, allocations: 2.625 kB / 0.7903 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.634, allocations: 10.06 kB / 0.7903 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.634, allocations: 0.5625 kB / 0.7903 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.00269/0.6367, allocations: 0.7228 MB / 0.791 GB, free: 46.87 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)