Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.368/2.368, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 182.8 kB / 499.1 MB, free: 4.645 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 95.78 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 49.56 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3375, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00207/0.3396, allocations: 0.8204 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3409, allocations: 1.063 MB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.341, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.459e-05/0.341, allocations: 3.938 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.866e-05/0.3411, allocations: 11.91 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.3414, allocations: 43.95 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.034e-05/0.3415, allocations: 75.72 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3416, allocations: 20.17 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.3417, allocations: 19.92 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.906e-05/0.3418, allocations: 39.83 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.3418, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.3419, allocations: 15.98 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.3419, allocations: 15.92 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.342, allocations: 27.86 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3421, allocations: 71.75 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3422, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3422, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3422, allocations: 4 kB / 1.22 GB, free: 115 MB / 0.823 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.0006684/0.3429, allocations: 377.4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3429, allocations: 11.98 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.343, allocations: 8.844 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.3431, allocations: 184.1 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3431, allocations: 4.375 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.3432, allocations: 12.31 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3434, allocations: 66.22 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3434, allocations: 7.938 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3434, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3434, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.3436, allocations: 47.89 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006648/0.3443, allocations: 316.7 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.3444, allocations: 62.58 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.3445, allocations: 28.95 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3446, allocations: 0 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.3448, allocations: 79.38 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3448, allocations: 3.938 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003764/0.3452, allocations: 125.6 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3452, allocations: 59.33 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.3453, allocations: 133.6 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3453, allocations: 25.7 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.3454, allocations: 96.12 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.3454, allocations: 15.81 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.3455, allocations: 29.7 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.3455, allocations: 314.8 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.3456, allocations: 35.97 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.3457, allocations: 73.98 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.3459, allocations: 109.8 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.346, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002576/0.3462, allocations: 129.4 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3462, allocations: 12.22 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3463, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3463, allocations: 8 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3464, allocations: 23.91 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3464, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.3465, allocations: 15.84 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.3465, allocations: 7.984 kB / 1.223 GB, free: 112.4 MB / 0.823 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 7.166e-05/0.3466, allocations: 122.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.3466, allocations: 11.98 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.3466, allocations: 4.375 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3466, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3467, allocations: 7.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3467, allocations: 3.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.347, allocations: 378.3 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3471, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.3471, allocations: 15.98 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3471, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3471, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3471, allocations: 3.938 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3471, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.3476, allocations: 0.7825 MB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.3476, allocations: 81.02 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3476, allocations: 7.984 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.3477, allocations: 7.938 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.3478, allocations: 7.984 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3478, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.3478, allocations: 95.27 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3478, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003294/0.3482, allocations: 20 kB / 1.224 GB, free: 110.7 MB / 0.823 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.0001549/0.3483, allocations: 111.2 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3486, allocations: 71.89 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3486, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3487, allocations: 40.34 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.349, allocations: 15.94 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.3494, allocations: 295.3 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.3495, allocations: 0.6926 MB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.3496, allocations: 7.984 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.3496, allocations: 11.44 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3496, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of Templates: time 0.003012/0.3526, allocations: 0.9188 MB / 1.226 GB, free: 108.5 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)