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.001822/0.001822, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.002279/0.002279, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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.975/2.975, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 74.22 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9133/0.9154, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002155/0.9175, allocations: 0.7487 MB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.919, allocations: 1.082 MB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.9191, allocations: 1.344 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.9191, allocations: 4.594 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.9192, allocations: 16.19 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.9196, allocations: 51.02 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.9197, allocations: 73.92 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.9199, allocations: 22.78 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.9199, allocations: 28.7 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.92, allocations: 31.75 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.92, allocations: 10.31 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.9201, allocations: 22.2 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.9201, allocations: 18.48 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.9202, allocations: 26.11 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.9204, allocations: 83.67 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9204, allocations: 0 / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9204, allocations: 0.75 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.9204, allocations: 1.281 kB / 1.189 GB, free: 14.76 MB / 1.076 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.0005254/0.9209, allocations: 301.9 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.921, allocations: 9.375 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.921, allocations: 9.141 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.136e-05/0.9211, allocations: 121 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.9211, allocations: 2.438 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.9211, allocations: 5.062 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.9213, allocations: 68.11 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9213, allocations: 3.938 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.9213, allocations: 5.125 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.9214, allocations: 1.953 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.9215, allocations: 47.88 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.9221, allocations: 261.9 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.9223, allocations: 54.11 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.9224, allocations: 27.53 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.9224, allocations: 1.516 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.9227, allocations: 78.66 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.9227, allocations: 0 / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.000454/0.9231, allocations: 131.6 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.9232, allocations: 54.06 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.9232, allocations: 120 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.9233, allocations: 30.8 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.9233, allocations: 93.33 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.9233, allocations: 27.06 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.9234, allocations: 31.23 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.9234, allocations: 322.2 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.9235, allocations: 28.25 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.9237, allocations: 71.09 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.9239, allocations: 111.6 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9239, allocations: 5.219 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003068/0.9242, allocations: 130.5 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.9242, allocations: 6.125 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.9242, allocations: 2.906 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.9243, allocations: 2.781 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.9244, allocations: 20.06 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.9244, allocations: 3.094 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.9245, allocations: 16.22 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.9245, allocations: 9.891 kB / 1.191 GB, free: 12.99 MB / 1.076 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.165e-05/0.9246, allocations: 125.4 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.9246, allocations: 11.03 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.9246, allocations: 11.59 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.9246, allocations: 2.047 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9246, allocations: 0 / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9246, allocations: 0.9844 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.925, allocations: 312.8 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.925, allocations: 0.75 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.9251, allocations: 11.19 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.9251, allocations: 1.406 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.9251, allocations: 4.703 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9251, allocations: 1.609 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9251, allocations: 0.6562 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.9254, allocations: 214.2 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.9254, allocations: 6.969 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.9254, allocations: 2 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.9255, allocations: 9.906 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.9255, allocations: 5.125 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.9255, allocations: 10.47 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.9256, allocations: 96.86 kB / 1.192 GB, free: 12.31 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9256, allocations: 0 / 1.192 GB, free: 12.31 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002807/0.9259, allocations: 17.83 kB / 1.192 GB, free: 12.31 MB / 1.076 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.0001344/0.926, allocations: 99.78 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.9263, allocations: 73.38 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9263, allocations: 1.188 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.9264, allocations: 37.5 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.9267, allocations: 14.08 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.927, allocations: 165 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.536e-05/0.9271, allocations: 76.39 kB / 1.192 GB, free: 11.97 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.9271, allocations: 13.34 kB / 1.192 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.9271, allocations: 14.3 kB / 1.192 GB, free: 11.96 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.9271, allocations: 0 / 1.192 GB, free: 11.96 MB / 1.076 GB Notification: Performance of Templates: time 0.004156/0.9313, allocations: 1.025 MB / 1.193 GB, free: 11.85 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.936514739063568]