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.SampleTrigger.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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") 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: 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.001881/0.001881, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.568/1.568, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 65.47 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4185, 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.SampleTrigger): time 0.002281/0.4209, allocations: 0.807 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.4223, allocations: 1.077 MB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.4224, allocations: 0 / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.771e-05/0.4225, allocations: 7.938 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.321e-05/0.4225, allocations: 3.938 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.4228, allocations: 55.27 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.4229, allocations: 67.78 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.4231, allocations: 24.09 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.4232, allocations: 27.91 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.4232, allocations: 31.84 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.4233, allocations: 4 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.21e-05/0.4233, allocations: 15.94 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.4234, allocations: 15.97 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.4234, allocations: 31.8 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.4236, allocations: 71.81 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4236, allocations: 7.938 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.52e-07/0.4236, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4236, allocations: 0 / 1.07 GB, free: 8.641 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.0005796/0.4242, allocations: 381.2 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4242, allocations: 12.03 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.4243, allocations: 4.844 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4244, allocations: 176.2 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.4244, allocations: 12.36 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.4245, allocations: 4.375 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.4247, allocations: 66.17 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4247, allocations: 3.938 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4247, allocations: 4 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4247, allocations: 0 / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.4249, allocations: 43.95 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.4256, allocations: 332.7 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.4258, allocations: 54.55 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/0.4259, allocations: 24.97 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.4259, allocations: 8 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.4262, allocations: 83.36 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.4262, allocations: 3.938 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004262/0.4266, allocations: 121.6 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.4267, allocations: 55.41 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4268, allocations: 125.7 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4268, allocations: 33.7 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.4269, allocations: 84.14 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.4269, allocations: 23.73 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.4269, allocations: 25.7 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4271, allocations: 326.8 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.4272, allocations: 39.84 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.4274, allocations: 77.92 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.4276, allocations: 105.9 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4276, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000289/0.4279, allocations: 133.5 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4279, allocations: 5.25 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4279, allocations: 3.938 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.428, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4281, allocations: 19.98 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4281, allocations: 4 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.4282, allocations: 7.984 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.4282, allocations: 4.188 kB / 1.072 GB, free: 6.012 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 8.78e-05/0.4283, allocations: 125.7 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.4283, allocations: 11.89 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.4284, allocations: 12.38 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4284, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4284, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4284, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.4288, allocations: 378.3 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4289, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.036e-05/0.4289, allocations: 4 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4289, allocations: 3.984 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4289, allocations: 8 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4289, allocations: 3.938 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4289, allocations: 0 / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.4292, allocations: 195.5 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.4293, allocations: 92.94 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.4293, allocations: 0 / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.4294, allocations: 11.94 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.4294, allocations: 7.984 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.4295, allocations: 7.938 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.499e-05/0.4295, allocations: 95.86 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4295, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002536/0.4298, allocations: 20 kB / 1.073 GB, free: 4.953 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.0002283/0.43, allocations: 107.6 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.4303, allocations: 71.89 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4304, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.4305, allocations: 40.34 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.4308, allocations: 20.44 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.4313, allocations: 172.5 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.4316, allocations: 0.6926 MB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.4317, allocations: 11.77 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.4317, allocations: 11.44 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4317, allocations: 0 / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.003918/0.4356, allocations: 0.8748 MB / 1.075 GB, free: 2.902 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)