Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.453/2.453, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 177.1 kB / 326.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.614/2.614, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001359/0.001358, allocations: 92.05 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 19.16 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001586/0.2022, allocations: 1.108 MB / 0.9006 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004193/0.2027, allocations: 193.5 kB / 0.9008 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.2027, allocations: 0 / 0.9008 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.2028, allocations: 3.984 kB / 0.9008 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.2028, allocations: 7.938 kB / 0.9008 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.203, allocations: 4 kB / 0.9008 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.2031, allocations: 39.86 kB / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.2032, allocations: 11.97 kB / 0.9009 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.238e-05/0.2032, allocations: 8 kB / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.2033, allocations: 11.92 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2033, allocations: 4 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.2033, allocations: 4 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.2034, allocations: 11.92 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.2034, allocations: 25.7 kB / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.121e-05/0.2035, allocations: 23.95 kB / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2035, allocations: 0 / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2035, allocations: 0 / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2035, allocations: 0 / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004872/0.204, allocations: 351.7 kB / 0.9013 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2041, allocations: 11.97 kB / 0.9013 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.2041, allocations: 8.844 kB / 0.9013 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.467e-05/0.2042, allocations: 164.4 kB / 0.9015 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.2042, allocations: 4.375 kB / 0.9015 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2043, allocations: 384 / 0.9015 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.2045, allocations: 66.17 kB / 0.9015 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2045, allocations: 4.188 kB / 0.9015 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.2045, allocations: 3.938 kB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2046, allocations: 0 / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.2048, allocations: 47.95 kB / 0.9016 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.2053, allocations: 268.9 kB / 0.9018 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.2055, allocations: 62.36 kB / 0.9019 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.2056, allocations: 32.94 kB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.2057, allocations: 4 kB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.2059, allocations: 67.38 kB / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.2059, allocations: 4 kB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0005719/0.2065, allocations: 113.6 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.2066, allocations: 55.34 kB / 0.9022 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.2067, allocations: 109.8 kB / 0.9023 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2067, allocations: 25.7 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.2067, allocations: 92.12 kB / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.2068, allocations: 15.75 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-06/0.2068, allocations: 0 / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.2068, allocations: 314.8 kB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.207, allocations: 23.97 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.2072, allocations: 46.56 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.2073, allocations: 23.98 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2073, allocations: 3.938 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003497/0.2077, allocations: 97.72 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2077, allocations: 4 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2077, allocations: 4 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2078, allocations: 4 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2079, allocations: 20.08 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.208, allocations: 4.25 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.2081, allocations: 11.98 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2081, allocations: 3.938 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.2082, allocations: 117.8 kB / 0.903 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.2083, allocations: 7.906 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.2083, allocations: 3.906 kB / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.2084, allocations: 3.984 kB / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2084, allocations: 4 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.2084, allocations: 77.11 kB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.2085, allocations: 4 kB / 0.9031 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.2086, allocations: 7.984 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.2087, allocations: 11.94 kB / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005652/0.2093, allocations: 172.9 kB / 0.9033 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000586/0.2099, allocations: 270.6 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002227/0.2101, allocations: 28.27 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.2102, allocations: 91.25 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of Backend: time 1.041e-06/0.2102, allocations: 3.938 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007896/0.211, allocations: 118.3 kB / 0.9038 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005455/0.2116, allocations: 0.5721 MB / 0.9044 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.004278/0.2159, allocations: 0.5477 MB / 0.9049 GB, free: 59.65 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)