Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.877/1.877, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009994/0.0009991, allocations: 179.3 kB / 393.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008585/0.0008584, allocations: 95.81 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003996, allocations: 12 kB / 0.9225 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.785/0.7854, allocations: 121.3 MB / 1.041 GB, free: 58.39 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001276/0.7868, allocations: 476.2 kB / 1.041 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.7887, allocations: 1.131 MB / 1.042 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.7887, allocations: 0 / 1.042 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.7888, allocations: 0.8906 kB / 1.042 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.7889, allocations: 13.2 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.7892, allocations: 44.61 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.7894, allocations: 67.86 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.7896, allocations: 23.61 kB / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.78e-05/0.7897, allocations: 22.02 kB / 1.043 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.868e-05/0.7898, allocations: 31.73 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.7898, allocations: 2.75 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.7899, allocations: 14.91 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.7899, allocations: 8.984 kB / 1.043 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.79, allocations: 56.42 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.7903, allocations: 73.97 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.7903, allocations: 2 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7903, allocations: 0 / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.7903, allocations: 0.7812 kB / 1.043 GB, free: 57.08 MB / 0.698 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.0007383/0.7911, allocations: 369 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.7911, allocations: 10.38 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.7912, allocations: 7.812 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.7913, allocations: 182.1 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.7914, allocations: 2.625 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.7914, allocations: 6.922 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.7917, allocations: 70.47 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.7917, allocations: 3.938 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.7918, allocations: 4.844 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.7918, allocations: 7.062 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.792, allocations: 58.12 kB / 1.043 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.7928, allocations: 328.6 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.793, allocations: 61.41 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.7932, allocations: 39.61 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.7932, allocations: 0 / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.7935, allocations: 87.64 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.7936, allocations: 0 / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005486/0.7941, allocations: 139.9 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.7942, allocations: 57.17 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.7943, allocations: 133.3 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.7943, allocations: 33.48 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.7944, allocations: 89.27 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.7944, allocations: 17.11 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.7944, allocations: 0 / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.7945, allocations: 327.9 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.7946, allocations: 30.95 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.7948, allocations: 79.41 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.7951, allocations: 115.3 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7951, allocations: 4.906 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003892/0.7955, allocations: 143.2 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.7956, allocations: 12.03 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7956, allocations: 0 / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.7956, allocations: 3.188 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.7958, allocations: 26.17 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.7958, allocations: 5.906 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.7959, allocations: 20.3 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.7959, allocations: 6 kB / 1.045 GB, free: 55.1 MB / 0.698 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * 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 9.31e-05/0.796, allocations: 116.8 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.7961, allocations: 13.66 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.7961, allocations: 9.094 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7961, allocations: 2.438 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.7961, allocations: 4 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7961, allocations: 0 / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.7967, allocations: 387.2 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7967, allocations: 4 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.7968, allocations: 10.55 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7968, allocations: 2.281 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.7968, allocations: 0 / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.7968, allocations: 3.938 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7968, allocations: 1.938 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.7971, allocations: 225.7 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.7972, allocations: 83.08 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.7972, allocations: 3.312 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.7973, allocations: 11.2 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.7974, allocations: 5.672 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.7974, allocations: 5.281 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.678e-05/0.7974, allocations: 92.28 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7974, allocations: 0 / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002312/0.7977, allocations: 19.47 kB / 1.046 GB, free: 54.27 MB / 0.698 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.0001936/0.7979, allocations: 113 kB / 1.046 GB, free: 54.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.7982, allocations: 91.48 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7982, allocations: 0 / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.7983, allocations: 40.28 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.7986, allocations: 18.78 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.799, allocations: 178 kB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.7992, allocations: 0.6928 MB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.705e-05/0.7992, allocations: 6.312 kB / 1.047 GB, free: 53.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.7992, allocations: 14.19 kB / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.7992, allocations: 0 / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of Templates: time 0.003621/0.8029, allocations: 0.8713 MB / 1.048 GB, free: 53.18 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)