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.001905/0.001905, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00234/0.00234, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.829/2.829, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002383/0.002383, allocations: 67.89 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.11, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001885/1.112, allocations: 0.7295 MB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001155/1.113, allocations: 1.083 MB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/1.113, allocations: 3 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/1.113, allocations: 3.938 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/1.113, allocations: 14.3 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/1.113, allocations: 53.61 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/1.113, allocations: 75.58 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/1.114, allocations: 20.53 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/1.114, allocations: 30.59 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/1.114, allocations: 42.06 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/1.114, allocations: 5.688 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/1.114, allocations: 17.42 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/1.114, allocations: 18.02 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/1.114, allocations: 21.34 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/1.114, allocations: 76.27 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.114, allocations: 2.938 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.783e-06/1.114, allocations: 0 / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.114, allocations: 0 / 1.156 GB, free: 31.86 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.0005096/1.115, allocations: 306.8 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.115, allocations: 8.75 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/1.115, allocations: 11.05 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.272e-05/1.115, allocations: 120 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/1.115, allocations: 3.562 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/1.115, allocations: 7.156 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/1.115, allocations: 64.33 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.115, allocations: 3.938 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.115, allocations: 3.328 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.115, allocations: 0 / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/1.115, allocations: 52.06 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/1.116, allocations: 258.1 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/1.116, allocations: 47.2 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/1.116, allocations: 34.47 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/1.116, allocations: 4.078 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/1.116, allocations: 88.09 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/1.116, allocations: 0 / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0003988/1.117, allocations: 125.9 kB / 1.157 GB, free: 30.97 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/1.117, allocations: 61.88 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/1.117, allocations: 119.6 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/1.117, allocations: 33.12 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/1.117, allocations: 93.38 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/1.117, allocations: 22.38 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/1.117, allocations: 33.83 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/1.117, allocations: 324.9 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/1.117, allocations: 29.14 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/1.117, allocations: 78.19 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/1.117, allocations: 106.9 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.117, allocations: 0 / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002692/1.118, allocations: 131.5 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.118, allocations: 9.594 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.118, allocations: 0 / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.118, allocations: 2.781 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/1.118, allocations: 24.52 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.118, allocations: 2.938 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/1.118, allocations: 13.2 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/1.118, allocations: 2.844 kB / 1.158 GB, free: 30.07 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 6.368e-05/1.118, allocations: 120 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/1.118, allocations: 6.703 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/1.118, allocations: 18.58 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/1.118, allocations: 0 / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.118, allocations: 0 / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.118, allocations: 0 / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/1.118, allocations: 325.3 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.118, allocations: 0 / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/1.118, allocations: 8.797 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.118, allocations: 0 / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/1.118, allocations: 4 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.118, allocations: 10.11 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.118, allocations: 0 / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/1.119, allocations: 202.7 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/1.119, allocations: 10.67 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/1.119, allocations: 2.969 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/1.119, allocations: 6.078 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/1.119, allocations: 6.203 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/1.119, allocations: 3.938 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.536e-05/1.119, allocations: 101.9 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.119, allocations: 0 / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002494/1.119, allocations: 11.5 kB / 1.159 GB, free: 29.4 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.0001268/1.119, allocations: 103.5 kB / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002749/1.119, allocations: 76.53 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.119, allocations: 448 / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/1.12, allocations: 42.33 kB / 1.159 GB, free: 29.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/1.12, allocations: 20.7 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/1.12, allocations: 160 kB / 1.159 GB, free: 29.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.004e-05/1.12, allocations: 81.41 kB / 1.159 GB, free: 29.05 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.147e-05/1.12, allocations: 3.031 kB / 1.159 GB, free: 29.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/1.12, allocations: 18.62 kB / 1.159 GB, free: 29.04 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.12, allocations: 0 / 1.159 GB, free: 29.04 MB / 1.076 GB Notification: Performance of Templates: time 0.003611/1.124, allocations: 1.018 MB / 1.16 GB, free: 28.93 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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: 9.280541968997568]