Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009947/0.0009947, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001153/0.001153, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9376/0.9376, allocations: 177.1 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.336/2.336, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0 / 0.8898 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.371e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001305/0.001329, allocations: 0.7634 MB / 0.8905 GB, free: 9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.002338, allocations: 1.116 MB / 0.8916 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.002382, allocations: 0 / 0.8916 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.002406, allocations: 7.938 kB / 0.8916 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.002471, allocations: 11.86 kB / 0.8916 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.002706, allocations: 51.77 kB / 0.8917 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.002789, allocations: 75.72 kB / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.002876, allocations: 20.09 kB / 0.8918 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.002958, allocations: 39.91 kB / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.003001, allocations: 23.95 kB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.003016, allocations: 8 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.918e-05/0.003065, allocations: 19.98 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.003084, allocations: 11.92 kB / 0.8919 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.003106, allocations: 23.98 kB / 0.8919 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.003215, allocations: 63.8 kB / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003217, allocations: 0 / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003218, allocations: 0 / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.003221, allocations: 3.938 kB / 0.8919 GB, free: 7.512 MB / 0.8542 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.0003355/0.003556, allocations: 408.3 kB / 0.8923 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.003593, allocations: 8.625 kB / 0.8923 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.003624, allocations: 16.89 kB / 0.8924 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.702e-05/0.003691, allocations: 116.5 kB / 0.8925 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.003699, allocations: 4.359 kB / 0.8925 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.003709, allocations: 12.38 kB / 0.8925 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.19e-05/0.003801, allocations: 66.88 kB / 0.8925 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.003807, allocations: 4.188 kB / 0.8925 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.003814, allocations: 4.375 kB / 0.8926 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.003818, allocations: 4.125 kB / 0.8926 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.003836, allocations: 8 kB / 0.8926 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.004141, allocations: 280.3 kB / 0.8928 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.727e-05/0.004208, allocations: 43.08 kB / 0.8929 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.004226, allocations: 19.81 kB / 0.8929 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.004245, allocations: 4 kB / 0.8929 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.749e-05/0.004313, allocations: 68.92 kB / 0.893 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.004314, allocations: 0 / 0.893 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001331/0.004447, allocations: 81.61 kB / 0.893 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.004476, allocations: 51.41 kB / 0.8931 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.004546, allocations: 177.8 kB / 0.8933 GB, free: 6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.004559, allocations: 37.69 kB / 0.8933 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.004602, allocations: 134.9 kB / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.004617, allocations: 15.84 kB / 0.8934 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.004652, allocations: 39.34 kB / 0.8935 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.004751, allocations: 0.4923 MB / 0.894 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.004767, allocations: 4 kB / 0.894 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.004815, allocations: 78.16 kB / 0.894 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.79e-05/0.004883, allocations: 93.67 kB / 0.8941 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.004885, allocations: 4 kB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001018/0.004987, allocations: 93.44 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.004999, allocations: 8 kB / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005003, allocations: 0 / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.005016, allocations: 4 kB / 0.8942 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.005092, allocations: 19.92 kB / 0.8942 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.005095, allocations: 4 kB / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.005127, allocations: 12.17 kB / 0.8943 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.005137, allocations: 11.98 kB / 0.8943 GB, free: 4.863 MB / 0.8542 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 6.284e-05/0.0052, allocations: 160.5 kB / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.005477, allocations: 15.89 kB / 0.8944 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.005499, allocations: 4.438 kB / 0.8944 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.005502, allocations: 4 kB / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005503, allocations: 0 / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.005506, allocations: 0 / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.005717, allocations: 317.9 kB / 0.8948 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005719, allocations: 4 kB / 0.8948 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.005742, allocations: 8 kB / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.005744, allocations: 0 / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.00575, allocations: 4 kB / 0.8948 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.005751, allocations: 4 kB / 0.8948 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.005753, allocations: 0 / 0.8948 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.005853, allocations: 223.8 kB / 0.895 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.005862, allocations: 7.953 kB / 0.895 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.005871, allocations: 4 kB / 0.895 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.005903, allocations: 4 kB / 0.895 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.005932, allocations: 7.922 kB / 0.895 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.005937, allocations: 4 kB / 0.895 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.005976, allocations: 147.2 kB / 0.8952 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005976, allocations: 0 / 0.8952 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000161/0.006137, allocations: 16 kB / 0.8952 GB, free: 3.883 MB / 0.8542 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.0001045/0.006242, allocations: 103.2 kB / 0.8953 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.038e-05/0.006322, allocations: 43.61 kB / 0.8953 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.006323, allocations: 0 / 0.8953 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.006351, allocations: 28.5 kB / 0.8953 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.006527, allocations: 23.92 kB / 0.8954 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.00676, allocations: 162.8 kB / 0.8955 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.006793, allocations: 65.41 kB / 0.8956 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.006815, allocations: 4 kB / 0.8956 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.006867, allocations: 78.19 kB / 0.8957 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.006868, allocations: 0 / 0.8957 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of Templates: time 0.002566/0.009434, allocations: 1.144 MB / 0.8968 GB, free: 2.234 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.277858613990247]