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.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.962/1.962, allocations: 306.1 MB / 321.4 MB, free: 10.69 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.001346/0.001346, allocations: 183 kB / 393.1 MB, free: 4.078 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.619/1.619, allocations: 225.7 MB / 0.6743 GB, free: 12.54 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.0008189/0.0008189, allocations: 92.75 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003653, allocations: 10.53 kB / 0.9225 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7623, allocations: 121.3 MB / 1.041 GB, free: 58.01 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.000991/0.7634, allocations: 478.2 kB / 1.041 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.7647, allocations: 1.132 MB / 1.042 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.7648, allocations: 1.062 kB / 1.042 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.7648, allocations: 3.516 kB / 1.042 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.806e-05/0.7649, allocations: 11.34 kB / 1.042 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.7651, allocations: 40.53 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.7653, allocations: 69.86 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.7654, allocations: 18.52 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/0.7655, allocations: 23.28 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.7655, allocations: 33.31 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.7656, allocations: 3.375 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.451e-05/0.7656, allocations: 13.47 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.7657, allocations: 15.39 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.7657, allocations: 58.05 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.7659, allocations: 72.05 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7659, allocations: 1.219 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7659, allocations: 0 / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.7659, allocations: 0 / 1.043 GB, free: 56.71 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.0004858/0.7664, allocations: 368.3 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.7664, allocations: 10.53 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.7665, allocations: 9.438 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.212e-05/0.7666, allocations: 176.7 kB / 1.043 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.7666, allocations: 8.609 kB / 1.043 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.7666, allocations: 3.812 kB / 1.043 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.7668, allocations: 71.83 kB / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7669, allocations: 6.625 kB / 1.043 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.7669, allocations: 4 kB / 1.043 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.7669, allocations: 2.25 kB / 1.043 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.7671, allocations: 59.42 kB / 1.043 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.7677, allocations: 323.1 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.7678, allocations: 61.66 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.784e-05/0.7679, allocations: 37.59 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.768, allocations: 3.391 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.7682, allocations: 88.05 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.715e-06/0.7682, allocations: 3.703 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004169/0.7686, allocations: 140 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.7686, allocations: 57.89 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.7687, allocations: 134.3 kB / 1.044 GB, free: 55.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.7688, allocations: 36.2 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.7688, allocations: 88.2 kB / 1.044 GB, free: 55.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.7688, allocations: 20.39 kB / 1.044 GB, free: 55.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.7688, allocations: 0 / 1.044 GB, free: 55.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.01e-05/0.7689, allocations: 325.6 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.769, allocations: 31.33 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.7692, allocations: 78.98 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.7694, allocations: 126.1 kB / 1.045 GB, free: 54.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7694, allocations: 0 / 1.045 GB, free: 54.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002813/0.7697, allocations: 142 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7697, allocations: 8.844 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7697, allocations: 4.281 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.7697, allocations: 1.469 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.7699, allocations: 18.91 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.7699, allocations: 6.312 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.77, allocations: 16.31 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.77, allocations: 14.06 kB / 1.045 GB, free: 54.73 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.33e-05/0.7701, allocations: 122.8 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.7701, allocations: 5.281 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.7701, allocations: 16.84 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.7701, allocations: 1.594 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7701, allocations: 0 / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.7702, allocations: 0 / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.7706, allocations: 388.4 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7706, allocations: 0.7969 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.7706, allocations: 10.83 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7706, allocations: 2.469 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.7707, allocations: 0 / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.7707, allocations: 7.938 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7707, allocations: 0 / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.7709, allocations: 216.3 kB / 1.046 GB, free: 54.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.771, allocations: 85.02 kB / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.771, allocations: 5.625 kB / 1.046 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.7711, allocations: 12.39 kB / 1.046 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.7711, allocations: 10.3 kB / 1.046 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.7711, allocations: 0 / 1.046 GB, free: 53.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.7712, allocations: 90 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7712, allocations: 0 / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002261/0.7714, allocations: 17.59 kB / 1.046 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.0001716/0.7716, allocations: 116.1 kB / 1.046 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.7719, allocations: 83.72 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7719, allocations: 4.375 kB / 1.046 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.772, allocations: 49.69 kB / 1.046 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.7723, allocations: 6 kB / 1.046 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.7726, allocations: 184.9 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.7728, allocations: 0.6879 MB / 1.047 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.7728, allocations: 4.594 kB / 1.047 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.7729, allocations: 14.84 kB / 1.047 GB, free: 52.92 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7729, allocations: 0 / 1.047 GB, free: 52.92 MB / 0.698 GB Notification: Performance of Templates: time 0.003305/0.7762, allocations: 0.8727 MB / 1.048 GB, free: 52.83 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (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=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)