Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 297.4 MB / 312.6 MB, free: 2.941 MB / 234.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.001067/0.001068, allocations: 178 kB / 382.3 MB, free: 14.85 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.635/1.635, allocations: 225.7 MB / 0.6617 GB, free: 7.27 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008098/0.00081, allocations: 91.52 kB / 0.7789 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005024, allocations: 14.02 kB / 0.9059 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7392/0.7398, allocations: 119.2 MB / 1.022 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001152/0.741, allocations: 477.9 kB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.7424, allocations: 1.138 MB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.7424, allocations: 1.312 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.7425, allocations: 3.938 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.7426, allocations: 12.14 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.7428, allocations: 37.88 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.295e-05/0.7429, allocations: 73.97 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.743, allocations: 17.38 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.7431, allocations: 23.44 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.7432, allocations: 31.55 kB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.7432, allocations: 3.5 kB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.174e-05/0.7433, allocations: 14.22 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.7433, allocations: 10.7 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.7433, allocations: 56.55 kB / 1.024 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.7435, allocations: 71.2 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.7435, allocations: 0 / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7435, allocations: 0 / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.7435, allocations: 2.062 kB / 1.024 GB, free: 56.7 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.0005117/0.744, allocations: 368.8 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7441, allocations: 18.31 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.7441, allocations: 9.719 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.7442, allocations: 173.7 kB / 1.025 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.7442, allocations: 2.469 kB / 1.025 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.7443, allocations: 8.406 kB / 1.025 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.7444, allocations: 72.56 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.7445, allocations: 6.5 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.7445, allocations: 3.344 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7445, allocations: 1.375 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.7447, allocations: 59.03 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.7453, allocations: 329.3 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.7455, allocations: 61.75 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.7456, allocations: 38.92 kB / 1.025 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.7456, allocations: 3.062 kB / 1.025 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.7458, allocations: 81.98 kB / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7458, allocations: 3.938 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004164/0.7463, allocations: 151.2 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.7463, allocations: 55.03 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.7464, allocations: 123.8 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.7464, allocations: 29.11 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.7465, allocations: 97.36 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.7465, allocations: 15.03 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.7465, allocations: 6.156 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.7466, allocations: 318.2 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.7467, allocations: 39.34 kB / 1.026 GB, free: 54.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.7468, allocations: 81.41 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.7471, allocations: 121 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7471, allocations: 1.344 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000307/0.7474, allocations: 140.1 kB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.7474, allocations: 9 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7474, allocations: 2.938 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7475, allocations: 2.422 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.7476, allocations: 26.47 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.7476, allocations: 4.078 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.43e-05/0.7477, allocations: 19.14 kB / 1.027 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.7477, allocations: 4.547 kB / 1.027 GB, free: 54.74 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 7.048e-05/0.7478, allocations: 121.9 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.7478, allocations: 10.41 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.7478, allocations: 6.75 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7479, allocations: 2.656 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7479, allocations: 0 / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7479, allocations: 0.6094 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.7483, allocations: 391.1 kB / 1.027 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7483, allocations: 0.6094 kB / 1.027 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.7484, allocations: 12.81 kB / 1.027 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7484, allocations: 4 kB / 1.027 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.7484, allocations: 1.172 kB / 1.027 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7484, allocations: 3.938 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7484, allocations: 0.75 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.7487, allocations: 212.9 kB / 1.027 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.7487, allocations: 84.44 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.7488, allocations: 4.547 kB / 1.027 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.7488, allocations: 16.98 kB / 1.027 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.7489, allocations: 8.531 kB / 1.027 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.7489, allocations: 3.75 kB / 1.027 GB, free: 54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.749, allocations: 92.27 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.749, allocations: 4 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002249/0.7492, allocations: 16.08 kB / 1.028 GB, free: 53.91 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.000165/0.7494, allocations: 121.1 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.7497, allocations: 92.36 kB / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7497, allocations: 0 / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.7498, allocations: 40 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.75, allocations: 9.062 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.7504, allocations: 177.3 kB / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.7505, allocations: 0.6939 MB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.7506, allocations: 6.703 kB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.7506, allocations: 10.31 kB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7506, allocations: 0 / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of Templates: time 0.003117/0.7537, allocations: 0.8691 MB / 1.029 GB, free: 52.85 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)