Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 164.5 kB / 24.86 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.832/1.832, allocations: 359 MB / 0.6063 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.31e-05, allocations: 7.25 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001463/0.001486, allocations: 0.7501 MB / 0.7891 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.002575, allocations: 1.121 MB / 0.7902 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.002618, allocations: 4.781 kB / 0.7902 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.002646, allocations: 3.938 kB / 0.7902 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.431e-05/0.00272, allocations: 20.47 kB / 0.7902 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.002974, allocations: 48.98 kB / 0.7902 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.941e-05/0.003074, allocations: 75.77 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.00316, allocations: 20.11 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/0.003238, allocations: 32.72 kB / 0.7904 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.003284, allocations: 27.89 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.003299, allocations: 8.906 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.073e-05/0.00335, allocations: 19.98 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.003372, allocations: 16.95 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.003396, allocations: 19.98 kB / 0.7905 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.003505, allocations: 63.73 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003507, allocations: 0.6875 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.92e-07/0.003508, allocations: 0 / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.003511, allocations: 2.656 kB / 0.7905 GB, free: 10 MB / 0.7448 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.0003367/0.003848, allocations: 396.4 kB / 0.7909 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.003878, allocations: 11.97 kB / 0.7909 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.00391, allocations: 16.89 kB / 0.7909 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.93e-05/0.003989, allocations: 116.6 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.003999, allocations: 384 / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.00401, allocations: 8.312 kB / 0.791 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.551e-05/0.004106, allocations: 68.5 kB / 0.7911 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.004111, allocations: 192 / 0.7911 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.004118, allocations: 384 / 0.7911 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.004123, allocations: 8.062 kB / 0.7911 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.004144, allocations: 16.58 kB / 0.7911 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.00447, allocations: 285 kB / 0.7914 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.224e-05/0.004542, allocations: 39.61 kB / 0.7914 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.00456, allocations: 17.44 kB / 0.7915 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.004576, allocations: 7.984 kB / 0.7915 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/0.004644, allocations: 60.98 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.004645, allocations: 0.5938 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001492/0.004794, allocations: 85.56 kB / 0.7916 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.004827, allocations: 52.03 kB / 0.7917 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.004902, allocations: 177.9 kB / 0.7918 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.004914, allocations: 34.45 kB / 0.7919 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.00496, allocations: 138.8 kB / 0.792 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.004975, allocations: 13 kB / 0.792 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.005012, allocations: 35.34 kB / 0.792 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.005116, allocations: 0.4936 MB / 0.7925 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.005134, allocations: 7.984 kB / 0.7925 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.005176, allocations: 69.8 kB / 0.7926 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.857e-05/0.005244, allocations: 97.08 kB / 0.7927 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005246, allocations: 0 / 0.7927 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001018/0.005348, allocations: 95.5 kB / 0.7928 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.00536, allocations: 8 kB / 0.7928 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.005365, allocations: 3.938 kB / 0.7928 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.005373, allocations: 4 kB / 0.7928 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.00545, allocations: 26.2 kB / 0.7928 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.005453, allocations: 4 kB / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.005487, allocations: 11.92 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.005496, allocations: 8 kB / 0.7928 GB, free: 7.379 MB / 0.7448 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.112e-05/0.005567, allocations: 166.4 kB / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.00558, allocations: 16.39 kB / 0.793 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.005597, allocations: 4.438 kB / 0.793 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.0056, allocations: 4.531 kB / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.005602, allocations: 1.906 kB / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005606, allocations: 3.984 kB / 0.793 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.005843, allocations: 306 kB / 0.7933 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.005844, allocations: 4 kB / 0.7933 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.00587, allocations: 7.938 kB / 0.7933 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005871, allocations: 2.562 kB / 0.7933 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.005876, allocations: 0 / 0.7933 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005878, allocations: 3.984 kB / 0.7933 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005879, allocations: 0 / 0.7933 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.005993, allocations: 224.2 kB / 0.7936 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.006002, allocations: 11.89 kB / 0.7936 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.006011, allocations: 0 / 0.7936 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.006047, allocations: 12.52 kB / 0.7936 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.006073, allocations: 1 kB / 0.7936 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.006078, allocations: 4 kB / 0.7936 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.006122, allocations: 139.8 kB / 0.7937 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006122, allocations: 0.6875 kB / 0.7937 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001619/0.006284, allocations: 17.03 kB / 0.7937 GB, free: 6.418 MB / 0.7448 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.0001002/0.006384, allocations: 103.6 kB / 0.7938 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.254e-05/0.006477, allocations: 54.03 kB / 0.7939 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.006478, allocations: 0 / 0.7939 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.006508, allocations: 23.62 kB / 0.7939 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.006691, allocations: 27.84 kB / 0.7939 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.00694, allocations: 167.7 kB / 0.7941 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.104e-05/0.006971, allocations: 59.34 kB / 0.7941 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.006994, allocations: 5.062 kB / 0.7942 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.007047, allocations: 82.19 kB / 0.7942 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.007048, allocations: 1.094 kB / 0.7942 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.002685/0.009733, allocations: 1.15 MB / 0.7954 GB, free: 4.758 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.148108738008887]