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.001904/0.001904, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002285/0.002285, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.544/1.544, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.724/2.724, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 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 2.795e-06/2.795e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.216e-05/4.495e-05, allocations: 10.16 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00256/0.002605, allocations: 0.7325 MB / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.004491, allocations: 1.089 MB / 0.9528 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.004552, allocations: 0 / 0.9528 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.00459, allocations: 11.86 kB / 0.9528 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.221e-05/0.004682, allocations: 19.8 kB / 0.9528 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.005039, allocations: 47.83 kB / 0.9528 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.005217, allocations: 75.77 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.005328, allocations: 12.17 kB / 0.9529 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.005454, allocations: 43.84 kB / 0.953 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.00552, allocations: 23.95 kB / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.005554, allocations: 8 kB / 0.953 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.005658, allocations: 19.98 kB / 0.953 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.005696, allocations: 11.92 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.005762, allocations: 27.91 kB / 0.9531 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.005978, allocations: 83.73 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005981, allocations: 8 kB / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.005982, allocations: 0 / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.005987, allocations: 0 / 0.9531 GB, free: 9.34 MB / 0.8575 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.0006288/0.006615, allocations: 306 kB / 0.9534 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.006659, allocations: 12.03 kB / 0.9534 GB, free: 9 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.006707, allocations: 4.938 kB / 0.9535 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.00684, allocations: 109.8 kB / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.006861, allocations: 8.312 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.006879, allocations: 8.359 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.007116, allocations: 70.22 kB / 0.9536 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.007127, allocations: 192 / 0.9536 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.00714, allocations: 4.375 kB / 0.9536 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.007151, allocations: 4.125 kB / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.007361, allocations: 43.95 kB / 0.9537 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/0.008024, allocations: 260.3 kB / 0.9539 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.008221, allocations: 54.55 kB / 0.954 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.00833, allocations: 28.97 kB / 0.954 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.00836, allocations: 15.86 kB / 0.954 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.0086, allocations: 75.42 kB / 0.9541 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.008601, allocations: 0 / 0.9541 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004767/0.009078, allocations: 125.6 kB / 0.9542 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.009128, allocations: 63.39 kB / 0.9543 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.009251, allocations: 125.8 kB / 0.9544 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.009273, allocations: 25.7 kB / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.009336, allocations: 88.14 kB / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.009359, allocations: 19.89 kB / 0.9545 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.009428, allocations: 33.64 kB / 0.9546 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.009661, allocations: 318.8 kB / 0.9549 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.009782, allocations: 27.97 kB / 0.9549 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.009936, allocations: 73.92 kB / 0.955 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.0102, allocations: 109.9 kB / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0102, allocations: 0 / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003557/0.01056, allocations: 141.3 kB / 0.9552 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.01057, allocations: 4 kB / 0.9552 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.01058, allocations: 4 kB / 0.9552 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01059, allocations: 0 / 0.9552 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.01072, allocations: 19.97 kB / 0.9552 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01073, allocations: 4.312 kB / 0.9552 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.01085, allocations: 16.11 kB / 0.9553 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.01087, allocations: 8 kB / 0.9553 GB, free: 6.957 MB / 0.8575 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.0001413/0.01101, allocations: 125.8 kB / 0.9554 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.01104, allocations: 7.938 kB / 0.9554 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.01108, allocations: 4.438 kB / 0.9554 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01108, allocations: 0 / 0.9554 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.987e-05/0.01118, allocations: 4 kB / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01118, allocations: 0 / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.01184, allocations: 326 kB / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01184, allocations: 0 / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.01192, allocations: 11.98 kB / 0.9557 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01193, allocations: 0 / 0.9557 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01194, allocations: 4 kB / 0.9557 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01194, allocations: 0 / 0.9557 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01194, allocations: 0 / 0.9557 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.01239, allocations: 211.4 kB / 0.9559 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.01241, allocations: 11.95 kB / 0.9559 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.01243, allocations: 4 kB / 0.9559 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.01256, allocations: 11.92 kB / 0.956 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.01261, allocations: 7.984 kB / 0.956 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.01262, allocations: 0 / 0.956 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.042e-05/0.01271, allocations: 103.9 kB / 0.9561 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01271, allocations: 0 / 0.9561 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004419/0.01316, allocations: 15.94 kB / 0.9561 GB, free: 6.062 MB / 0.8575 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.0002015/0.01336, allocations: 103.6 kB / 0.9562 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.01376, allocations: 83.86 kB / 0.9563 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01376, allocations: 0 / 0.9563 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.01393, allocations: 39.91 kB / 0.9563 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.01434, allocations: 13.91 kB / 0.9563 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.01487, allocations: 159.7 kB / 0.9565 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.01497, allocations: 81.08 kB / 0.9565 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.523e-05/0.01501, allocations: 7.984 kB / 0.9565 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.01506, allocations: 16.48 kB / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.01506, allocations: 0 / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of Templates: time 0.005465/0.02053, allocations: 1.02 MB / 0.9576 GB, free: 4.551 MB / 0.8575 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.131768722087145]