Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009885/0.0009885, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009981/0.0009981, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.92/1.92, allocations: 377.8 MB / 0.6239 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.69e-05, allocations: 6.312 kB / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001773/0.00181, allocations: 0.7531 MB / 0.8123 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003051, allocations: 1.125 MB / 0.8134 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.003106, allocations: 4 kB / 0.8134 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.003138, allocations: 4.625 kB / 0.8134 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.483e-05/0.003223, allocations: 16.77 kB / 0.8134 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.003593, allocations: 51.77 kB / 0.8135 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.003713, allocations: 72.42 kB / 0.8135 GB, free: 0 / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.003842, allocations: 12.17 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.003945, allocations: 45.16 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.004, allocations: 23.95 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.004019, allocations: 4 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.287e-05/0.004082, allocations: 23.92 kB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.004105, allocations: 13.7 kB / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.004143, allocations: 23.92 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.004298, allocations: 63.67 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004301, allocations: 0 / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.02e-07/0.004302, allocations: 0.875 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.004307, allocations: 0 / 0.8137 GB, free: 15.79 MB / 0.7761 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.0004936/0.004801, allocations: 401.4 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.004844, allocations: 12.03 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.004898, allocations: 8.891 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.005002, allocations: 117.3 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.00502, allocations: 12.36 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.005034, allocations: 5.094 kB / 0.8143 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.00519, allocations: 72.12 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005199, allocations: 192 / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.005211, allocations: 384 / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.00522, allocations: 4.125 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.381e-05/0.005254, allocations: 18.03 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.005719, allocations: 307.6 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.568e-05/0.005815, allocations: 39.06 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.005844, allocations: 20.67 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.005867, allocations: 7.938 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.61e-05/0.005953, allocations: 61.86 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.005955, allocations: 3.938 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.006164, allocations: 83.16 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.006206, allocations: 55.41 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.999e-05/0.006306, allocations: 181.8 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.006323, allocations: 33.7 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.00638, allocations: 136.4 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.0064, allocations: 19.89 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.006443, allocations: 31.36 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.006565, allocations: 0.4884 MB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.006596, allocations: 13.73 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.006654, allocations: 73.73 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.288e-05/0.006747, allocations: 96.34 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006749, allocations: 0 / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001347/0.006883, allocations: 102.5 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.006899, allocations: 4.531 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.006906, allocations: 4.297 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.006921, allocations: 4.781 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.007024, allocations: 19.97 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.007032, allocations: 4.906 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.00707, allocations: 11.94 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.007086, allocations: 8.516 kB / 0.8161 GB, free: 13.12 MB / 0.7761 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.023e-05/0.007166, allocations: 165.9 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.007179, allocations: 11.89 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.007208, allocations: 16.42 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.00721, allocations: 1.281 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.007213, allocations: 0 / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.007216, allocations: 0 / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.00748, allocations: 345.3 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007482, allocations: 0.6562 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.007511, allocations: 4.906 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.007513, allocations: 0 / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.007521, allocations: 4 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.007523, allocations: 4.781 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007524, allocations: 4 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.007664, allocations: 225.1 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.007675, allocations: 11.89 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.007688, allocations: 4 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.704e-05/0.007725, allocations: 4.578 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.007765, allocations: 4 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.00777, allocations: 0.5938 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.771e-05/0.007818, allocations: 145.6 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007818, allocations: 0 / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00018/0.007998, allocations: 16 kB / 0.817 GB, free: 12.11 MB / 0.7761 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.0001579/0.008156, allocations: 103.2 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.008286, allocations: 55.92 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008287, allocations: 0 / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.008326, allocations: 27.62 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.008538, allocations: 15.92 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.008867, allocations: 157.5 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.942e-05/0.008906, allocations: 67.2 kB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.008932, allocations: 4.625 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.008966, allocations: 13.38 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.008967, allocations: 0 / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.003072/0.01204, allocations: 1.038 MB / 0.8185 GB, free: 10.65 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.3137663409579545]