Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001059/0.001059, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.00129/0.00129, allocations: 175.6 kB / 25.18 MB, free: 8.918 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 1.001/1.001, allocations: 177.1 MB / 205.6 MB, free: 5.414 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.904/1.904, allocations: 389.6 MB / 0.6364 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 4 kB / 0.7755 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.252e-05, allocations: 4.141 kB / 0.7755 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001342/0.001364, allocations: 0.727 MB / 0.7762 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.002474, allocations: 1.112 MB / 0.7773 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.002523, allocations: 4 kB / 0.7773 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.002556, allocations: 3.938 kB / 0.7773 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.00263, allocations: 7.938 kB / 0.7773 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.002883, allocations: 44.86 kB / 0.7774 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.752e-05/0.00297, allocations: 50.73 kB / 0.7774 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.621e-05/0.003037, allocations: 4 kB / 0.7774 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.003115, allocations: 33.5 kB / 0.7775 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.003158, allocations: 13.61 kB / 0.7775 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.003172, allocations: 4 kB / 0.7775 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.472e-05/0.003246, allocations: 24.42 kB / 0.7775 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.003266, allocations: 11.92 kB / 0.7775 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.003289, allocations: 11.98 kB / 0.7775 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003406, allocations: 59.56 kB / 0.7776 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003408, allocations: 0 / 0.7776 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003408, allocations: 0 / 0.7776 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.003412, allocations: 0 / 0.7776 GB, free: 3.941 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003383/0.00375, allocations: 264.8 kB / 0.7778 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.003779, allocations: 9.344 kB / 0.7778 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.003855, allocations: 12.92 kB / 0.7779 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.284e-05/0.003928, allocations: 113.7 kB / 0.778 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.003937, allocations: 1.031 kB / 0.778 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.003945, allocations: 4.375 kB / 0.778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.014e-05/0.004035, allocations: 63.53 kB / 0.778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.00404, allocations: 4.656 kB / 0.778 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.004047, allocations: 384 / 0.778 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.004053, allocations: 5.266 kB / 0.778 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.004077, allocations: 11.94 kB / 0.778 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.004293, allocations: 157.6 kB / 0.7782 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.004e-05/0.004353, allocations: 30.56 kB / 0.7782 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.004367, allocations: 13.61 kB / 0.7782 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.00438, allocations: 128 / 0.7782 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.004436, allocations: 60.86 kB / 0.7783 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.004437, allocations: 0 / 0.7783 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001018/0.004539, allocations: 65.55 kB / 0.7784 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.004575, allocations: 55.41 kB / 0.7784 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.308e-05/0.004628, allocations: 111.2 kB / 0.7785 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.004639, allocations: 30.52 kB / 0.7785 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.004667, allocations: 84.09 kB / 0.7786 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.004684, allocations: 21.56 kB / 0.7786 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.004712, allocations: 25.69 kB / 0.7787 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.004785, allocations: 318.8 kB / 0.779 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.004796, allocations: 4 kB / 0.779 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.004822, allocations: 35.41 kB / 0.779 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.004867, allocations: 49.97 kB / 0.7791 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.004868, allocations: 0 / 0.7791 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.04e-05/0.004929, allocations: 57.61 kB / 0.7791 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.00494, allocations: 4.625 kB / 0.7791 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.004945, allocations: 4.5 kB / 0.7791 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.004953, allocations: 5.062 kB / 0.7791 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.005009, allocations: 19.92 kB / 0.7792 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.005013, allocations: 5.281 kB / 0.7792 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.005037, allocations: 8 kB / 0.7792 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.005042, allocations: 0 / 0.7792 GB, free: 2.148 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.663e-05/0.005099, allocations: 117.8 kB / 0.7793 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-06/0.005107, allocations: 7.984 kB / 0.7793 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.005173, allocations: 55.41 kB / 0.7793 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.005178, allocations: 11.95 kB / 0.7793 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.005179, allocations: 0 / 0.7793 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005182, allocations: 0 / 0.7793 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.005334, allocations: 204 kB / 0.7795 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005335, allocations: 0 / 0.7795 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.005359, allocations: 8 kB / 0.7796 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.00536, allocations: 5 kB / 0.7796 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.005366, allocations: 3.938 kB / 0.7796 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.005368, allocations: 4.484 kB / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005369, allocations: 0 / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/0.005435, allocations: 141 kB / 0.7797 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.005442, allocations: 3.953 kB / 0.7797 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.005453, allocations: 11.94 kB / 0.7797 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.005493, allocations: 12.42 kB / 0.7797 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.005515, allocations: 3.984 kB / 0.7797 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.005524, allocations: 5.5 kB / 0.7797 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.176e-05/0.005536, allocations: 17.03 kB / 0.7797 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005536, allocations: 0 / 0.7797 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001285/0.005664, allocations: 15.94 kB / 0.7798 GB, free: 1.488 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.372e-05/0.005758, allocations: 90.16 kB / 0.7799 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.605e-05/0.005824, allocations: 28.84 kB / 0.7799 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.005828, allocations: 0.625 kB / 0.7799 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/0.005857, allocations: 21.33 kB / 0.7799 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.005977, allocations: 8.672 kB / 0.7799 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.006331, allocations: 173.4 kB / 0.7801 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.454e-05/0.006376, allocations: 67.34 kB / 0.7801 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.006425, allocations: 59.38 kB / 0.7802 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.006425, allocations: 0 / 0.7802 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of Templates: time 0.001531/0.007956, allocations: 0.8681 MB / 0.781 GB, free: 156 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.716239686124027]