Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00223/0.00223, allocations: 193 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.253/3.253, allocations: 472.6 MB / 0.7447 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 58.78 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4157, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002852/0.4186, allocations: 0.8124 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.4207, allocations: 1.174 MB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.4208, allocations: 3.938 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.599e-05/0.4209, allocations: 3.984 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.421, allocations: 3.938 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.4216, allocations: 127 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.4218, allocations: 111.8 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.4219, allocations: 24.16 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.4221, allocations: 43.89 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.4222, allocations: 43.83 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.4222, allocations: 8 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-05/0.4223, allocations: 31.92 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.4223, allocations: 8 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.134e-05/0.4224, allocations: 47.77 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.4226, allocations: 107.7 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4226, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4226, allocations: 0 / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4226, allocations: 0 / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007012/0.4234, allocations: 417.2 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4234, allocations: 16.03 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.4235, allocations: 12.84 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.4236, allocations: 176.3 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4237, allocations: 4.375 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.4237, allocations: 8.375 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.4239, allocations: 78.09 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4239, allocations: 3.938 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4239, allocations: 4 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.424, allocations: 0 / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.4241, allocations: 47.95 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.4247, allocations: 344.6 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.4249, allocations: 66.55 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.425, allocations: 28.97 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4251, allocations: 0 / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.4253, allocations: 95.28 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.4254, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004624/0.4258, allocations: 149.6 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.4259, allocations: 51.41 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.426, allocations: 125.7 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.426, allocations: 33.69 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.4261, allocations: 92.08 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.4261, allocations: 27.64 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.4262, allocations: 41.69 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4263, allocations: 326.8 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.4265, allocations: 47.95 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.4267, allocations: 93.05 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.427, allocations: 146.8 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.427, allocations: 4 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004422/0.4275, allocations: 211.1 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/0.4275, allocations: 41.69 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4276, allocations: 4 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4276, allocations: 48 / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.4277, allocations: 23.91 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4277, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.428, allocations: 36.11 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.428, allocations: 12 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001256/0.4281, allocations: 121.8 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.4281, allocations: 11.89 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.4285, allocations: 118.3 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4285, allocations: 4 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4285, allocations: 8 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4285, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.4289, allocations: 386.5 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4289, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.429, allocations: 15.92 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.429, allocations: 3.938 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.429, allocations: 0 / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4291, allocations: 0 / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4291, allocations: 7.938 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.4294, allocations: 211.4 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.4294, allocations: 81.02 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4294, allocations: 0 / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.4295, allocations: 15.92 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.4296, allocations: 11.92 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.4296, allocations: 8 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.146e-05/0.4297, allocations: 91.27 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4297, allocations: 0 / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002654/0.4299, allocations: 24 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001735/0.4301, allocations: 113.1 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.4305, allocations: 175.4 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4305, allocations: 4 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4307, allocations: 39.97 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.431, allocations: 11.98 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.4314, allocations: 185 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.4317, allocations: 0.6926 MB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.4317, allocations: 11.77 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.4318, allocations: 11.44 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.4318, allocations: 3.938 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of Templates: time 0.004027/0.4358, allocations: 1.311 MB / 1.076 GB, free: 1.531 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1)