Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0009972/0.0009972, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001039/0.001039, allocations: 161 kB / 23.82 MB, free: 0.7539 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.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.942/1.942, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] 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.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.188e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002145/0.002177, allocations: 0.7596 MB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.003714, allocations: 1.12 MB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.003768, allocations: 1.125 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.22e-05/0.00381, allocations: 11.86 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.483e-05/0.003895, allocations: 16.36 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.004251, allocations: 44.52 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.004379, allocations: 75.77 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.004495, allocations: 21.14 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.004604, allocations: 35.91 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.004668, allocations: 35.83 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.004689, allocations: 6.312 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.004755, allocations: 19.98 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.004788, allocations: 11.98 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.004833, allocations: 27.91 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.004999, allocations: 59.8 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.005002, allocations: 0 / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005003, allocations: 1.906 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.005008, allocations: 0 / 0.7893 GB, free: 10.23 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.0005161/0.005524, allocations: 392.4 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.005578, allocations: 12.03 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.005633, allocations: 14.41 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.005745, allocations: 124.5 kB / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.005761, allocations: 4.375 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.005781, allocations: 4.375 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.005952, allocations: 64.31 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.005964, allocations: 192 / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.005978, allocations: 8.375 kB / 0.7899 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.00599, allocations: 8.125 kB / 0.7899 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.006035, allocations: 21.61 kB / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.006586, allocations: 303.7 kB / 0.7902 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.006701, allocations: 43.14 kB / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.006732, allocations: 20.66 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.006759, allocations: 3.938 kB / 0.7903 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.799e-05/0.006857, allocations: 67.11 kB / 0.7903 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.006859, allocations: 0 / 0.7903 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002385/0.007097, allocations: 77.64 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.007143, allocations: 63.33 kB / 0.7905 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.007262, allocations: 173.9 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.007281, allocations: 32.3 kB / 0.7907 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.007353, allocations: 142.8 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.007381, allocations: 23.83 kB / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.007441, allocations: 31.36 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.007597, allocations: 0.4923 MB / 0.7913 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/0.007643, allocations: 8 kB / 0.7914 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.007721, allocations: 69.8 kB / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.007853, allocations: 100.6 kB / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.007857, allocations: 4 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001942/0.008051, allocations: 96.12 kB / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.008069, allocations: 8 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.008076, allocations: 0 / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.008099, allocations: 4.844 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.008231, allocations: 23.92 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.00824, allocations: 4 kB / 0.7916 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.008295, allocations: 4.844 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.008309, allocations: 4 kB / 0.7917 GB, free: 7.566 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 0.0001044/0.008414, allocations: 167.9 kB / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.008438, allocations: 15.88 kB / 0.7918 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.008472, allocations: 17.22 kB / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.008474, allocations: 0 / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.008479, allocations: 0 / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008482, allocations: 1.125 kB / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.008834, allocations: 349.2 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008836, allocations: 1.375 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.008884, allocations: 7.984 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.008887, allocations: 0 / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.008896, allocations: 3.938 kB / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.008898, allocations: 1.438 kB / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.008901, allocations: 0 / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.009092, allocations: 223.9 kB / 0.7924 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.009103, allocations: 3.953 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.00912, allocations: 10.89 kB / 0.7924 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.00919, allocations: 4 kB / 0.7924 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.009238, allocations: 7.984 kB / 0.7924 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.009247, allocations: 4 kB / 0.7924 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.009314, allocations: 135.8 kB / 0.7926 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009314, allocations: 0 / 0.7926 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003029/0.009617, allocations: 20 kB / 0.7926 GB, free: 6.555 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.0001667/0.009784, allocations: 105.4 kB / 0.7927 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.009951, allocations: 47.59 kB / 0.7927 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.009953, allocations: 1.344 kB / 0.7927 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/0.01001, allocations: 28.14 kB / 0.7928 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.01033, allocations: 18.91 kB / 0.7928 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.01074, allocations: 170.7 kB / 0.7929 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.01079, allocations: 64 kB / 0.793 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.01082, allocations: 4.656 kB / 0.793 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.01086, allocations: 23.3 kB / 0.793 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.01086, allocations: 0 / 0.793 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of Templates: time 0.004054/0.01491, allocations: 1.035 MB / 0.794 GB, free: 5.074 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.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.424887090921402]