Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009147/0.0009147, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001027/0.001027, allocations: 161 kB / 24.17 MB, free: 332 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.9913/0.9913, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.871/1.871, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.SampleTriggerPositiveStartTime,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.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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.514e-05, allocations: 10.11 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001815/0.00184, allocations: 0.7624 MB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.003332, allocations: 1.127 MB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.003379, allocations: 0 / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.003411, allocations: 4.562 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.003498, allocations: 18.17 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.003793, allocations: 51.77 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.003929, allocations: 76.31 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.004027, allocations: 21.73 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.004135, allocations: 41.67 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.004189, allocations: 19.97 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.004208, allocations: 15.92 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.084e-05/0.004269, allocations: 20.95 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.004294, allocations: 11.98 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.004327, allocations: 27.91 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.004452, allocations: 60.53 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004455, allocations: 3.984 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004456, allocations: 1.219 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.004459, allocations: 0 / 0.7622 GB, free: 4.395 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.000392/0.004851, allocations: 264.7 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.004884, allocations: 9.969 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.004923, allocations: 16.92 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/0.00501, allocations: 113.7 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.005022, allocations: 4.312 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.005037, allocations: 4.375 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.005154, allocations: 77.05 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.005162, allocations: 192 / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.005169, allocations: 384 / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.005176, allocations: 4.125 kB / 0.7627 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.005203, allocations: 8 kB / 0.7627 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.00557, allocations: 193.6 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.639e-05/0.005656, allocations: 34.55 kB / 0.7629 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.005679, allocations: 14.23 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.005695, allocations: 4 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.068e-05/0.005776, allocations: 59.36 kB / 0.763 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.005777, allocations: 1.25 kB / 0.763 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001371/0.005914, allocations: 61.66 kB / 0.7631 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.005957, allocations: 59.41 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.006035, allocations: 119.2 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.006051, allocations: 25.7 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.006095, allocations: 100.6 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.006115, allocations: 20.39 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.006163, allocations: 33.62 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.006251, allocations: 324.2 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.006276, allocations: 4 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.824e-05/0.006325, allocations: 50 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.282e-05/0.006407, allocations: 73.17 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.00641, allocations: 0 / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000128/0.006538, allocations: 88.31 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.006552, allocations: 10.28 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.006558, allocations: 4 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.006571, allocations: 0 / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.006678, allocations: 19.98 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.006687, allocations: 5.406 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.006739, allocations: 4 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.006751, allocations: 4 kB / 0.764 GB, free: 2.438 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 7.521e-05/0.006827, allocations: 118.6 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.006843, allocations: 7.938 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.006869, allocations: 13.19 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006871, allocations: 0 / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006873, allocations: 0.75 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.006878, allocations: 3.984 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.007248, allocations: 227.3 kB / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.007252, allocations: 3.938 kB / 0.7643 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.007291, allocations: 12.67 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.007293, allocations: 0 / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.007299, allocations: 2.812 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.0073, allocations: 0 / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007301, allocations: 0 / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.007409, allocations: 155.9 kB / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.007421, allocations: 7.891 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.007433, allocations: 4 kB / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.03e-05/0.007494, allocations: 0 / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.007525, allocations: 11.11 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.00753, allocations: 0 / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.007554, allocations: 25.48 kB / 0.7645 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007554, allocations: 0 / 0.7645 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002485/0.007803, allocations: 12 kB / 0.7646 GB, free: 1.801 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 0.0001092/0.007912, allocations: 84.42 kB / 0.7646 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.008017, allocations: 54.83 kB / 0.7647 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.008021, allocations: 4 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.008058, allocations: 16.92 kB / 0.7647 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.008249, allocations: 25.39 kB / 0.7647 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.008539, allocations: 157 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.4e-05/0.008583, allocations: 56.64 kB / 0.7649 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.008614, allocations: 7.984 kB / 0.7649 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.008678, allocations: 59.39 kB / 0.765 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.008678, allocations: 0.625 kB / 0.765 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of Templates: time 0.003431/0.01211, allocations: 1.078 MB / 0.766 GB, free: 312 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.085214896127582]