Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001979/0.001979, allocations: 198.2 kB / 16.14 MB, free: 6.66 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.583/1.583, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.169/3.169, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 70.73 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3936, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002192/0.3958, allocations: 0.8086 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3973, allocations: 1.081 MB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.3973, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.3974, allocations: 4 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.3975, allocations: 11.86 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.3977, allocations: 43.34 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.3978, allocations: 63.78 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.398, allocations: 36.12 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.3981, allocations: 27.86 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.3982, allocations: 31.84 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3982, allocations: 4 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.3982, allocations: 11.98 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.3983, allocations: 19.97 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.3983, allocations: 23.81 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.3985, allocations: 79.73 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3985, allocations: 4 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3985, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3985, allocations: 7.938 kB / 1.07 GB, free: 8.629 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005901/0.3991, allocations: 375.5 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.3992, allocations: 12.03 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.3992, allocations: 4.844 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3994, allocations: 180.2 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3994, allocations: 8.375 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3994, allocations: 4.375 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.3996, allocations: 70.22 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3997, allocations: 3.938 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3997, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3997, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.3999, allocations: 43.95 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.4006, allocations: 328.7 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.4008, allocations: 54.55 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.4009, allocations: 28.97 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.4009, allocations: 3.984 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.4012, allocations: 83.33 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.4012, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004336/0.4016, allocations: 121.6 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.4017, allocations: 55.41 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.4018, allocations: 121.7 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.4018, allocations: 33.7 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.4019, allocations: 96.11 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.4019, allocations: 15.75 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.402, allocations: 29.7 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4021, allocations: 330.7 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.4023, allocations: 27.97 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.4024, allocations: 81.98 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.4027, allocations: 105.9 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4027, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003145/0.403, allocations: 133.4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.403, allocations: 9.938 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.403, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4031, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.4032, allocations: 19.97 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4032, allocations: 4 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.4033, allocations: 11.94 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.4034, allocations: 11.92 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * 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 0.0001155/0.4035, allocations: 121.8 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.4035, allocations: 7.906 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.4035, allocations: 12.38 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4035, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4036, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4036, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.4041, allocations: 378.3 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4041, allocations: 0 / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.4041, allocations: 15.97 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4041, allocations: 0 / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.4042, allocations: 4 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4042, allocations: 3.938 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4042, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.4045, allocations: 203.8 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.4045, allocations: 88.95 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.4046, allocations: 4 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.4046, allocations: 11.92 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.4047, allocations: 7.938 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.4047, allocations: 3.984 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.4048, allocations: 91.28 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4048, allocations: 0 / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002654/0.4051, allocations: 19.98 kB / 1.073 GB, free: 4.945 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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 0.0001948/0.4053, allocations: 104.2 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.4056, allocations: 79.88 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4056, allocations: 4 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.4057, allocations: 35.91 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.406, allocations: 13.36 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.4064, allocations: 169.7 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.4067, allocations: 0.6887 MB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.4068, allocations: 11.78 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.4068, allocations: 15.44 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.4068, allocations: 0 / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.003843/0.4107, allocations: 0.8793 MB / 1.075 GB, free: 2.93 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)