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.0009644/0.0009644, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.0009365/0.0009365, allocations: 161 kB / 24.17 MB, free: 324 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 0.94/0.94, allocations: 177.2 MB / 204.6 MB, free: 5.133 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.974/1.974, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 4.508e-06/4.508e-06, allocations: 4 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/3.149e-05, allocations: 8.922 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002125/0.002156, allocations: 0.7668 MB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.003582, allocations: 1.122 MB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.003631, allocations: 0 / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.003662, allocations: 5.969 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.343e-05/0.003745, allocations: 15.97 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.004053, allocations: 52.97 kB / 0.762 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.004186, allocations: 75.88 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.004281, allocations: 22.45 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.004385, allocations: 46.8 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.00444, allocations: 23.91 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.004458, allocations: 4 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.698e-05/0.004515, allocations: 16.73 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.004542, allocations: 23.91 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.004572, allocations: 12.97 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.004701, allocations: 67.72 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004704, allocations: 0 / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004704, allocations: 1.469 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.004708, allocations: 0 / 0.7622 GB, free: 4.383 MB / 0.7136 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.0003379/0.005046, allocations: 272.7 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.005076, allocations: 13.28 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.005104, allocations: 8.922 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.511e-05/0.005179, allocations: 117.6 kB / 0.7626 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.005189, allocations: 4.375 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.005203, allocations: 13.56 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.005294, allocations: 66.88 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.0053, allocations: 192 / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.005306, allocations: 1.031 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.005314, allocations: 12.11 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.005331, allocations: 4.594 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.005602, allocations: 189.8 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.005665, allocations: 34.56 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.00568, allocations: 9.859 kB / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.005693, allocations: 0 / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.904e-05/0.005762, allocations: 71.47 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.005763, allocations: 1.312 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001054/0.005869, allocations: 53.69 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.005904, allocations: 55.39 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.005965, allocations: 123.4 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.005977, allocations: 29.7 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.006011, allocations: 96.81 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.006025, allocations: 11.84 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.006059, allocations: 34.44 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.851e-05/0.006127, allocations: 318.8 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.006144, allocations: 14.11 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.006178, allocations: 53.98 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.617e-05/0.006234, allocations: 71.69 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006236, allocations: 0 / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.303e-05/0.006319, allocations: 84.56 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.006331, allocations: 13.81 kB / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.006335, allocations: 0 / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.006349, allocations: 4 kB / 0.7639 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.006419, allocations: 15.98 kB / 0.764 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.006424, allocations: 10.69 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.006456, allocations: 8 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.006464, allocations: 4 kB / 0.764 GB, free: 2.418 MB / 0.7136 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 5.686e-05/0.006521, allocations: 121.8 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.006531, allocations: 11.94 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.006551, allocations: 8.438 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.006553, allocations: 3.984 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.006555, allocations: 1.562 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006558, allocations: 4 kB / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.006716, allocations: 214.7 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.006719, allocations: 3.938 kB / 0.7643 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.006737, allocations: 5.281 kB / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.006738, allocations: 0 / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.006745, allocations: 11.98 kB / 0.7643 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.006746, allocations: 0.5938 kB / 0.7643 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006747, allocations: 0 / 0.7643 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.135e-05/0.006818, allocations: 148.7 kB / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.006828, allocations: 15.88 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.006835, allocations: 0.6562 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.255e-05/0.006868, allocations: 4.5 kB / 0.7645 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.00689, allocations: 7.984 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.006893, allocations: 3.062 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.501e-05/0.006908, allocations: 25.48 kB / 0.7645 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006908, allocations: 0 / 0.7645 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001372/0.007045, allocations: 16 kB / 0.7646 GB, free: 1.777 MB / 0.7136 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 9.298e-05/0.007138, allocations: 84.69 kB / 0.7646 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.739e-05/0.007215, allocations: 47.91 kB / 0.7647 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.007218, allocations: 4 kB / 0.7647 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.007247, allocations: 28.83 kB / 0.7647 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.007376, allocations: 17.81 kB / 0.7647 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.007602, allocations: 162.2 kB / 0.7649 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.007633, allocations: 55.36 kB / 0.7649 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.205e-05/0.007655, allocations: 7.984 kB / 0.7649 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.007704, allocations: 64.61 kB / 0.765 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.007705, allocations: 0 / 0.765 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of Templates: time 0.002438/0.01014, allocations: 1.068 MB / 0.7661 GB, free: 292 kB / 0.7136 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: 4.933891453780234]