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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") 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.897/1.897, allocations: 297.4 MB / 312.6 MB, free: 2.898 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.001085/0.001085, allocations: 186 kB / 382.3 MB, free: 14.84 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.587/1.587, allocations: 225.7 MB / 0.6617 GB, free: 7.207 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.0009281/0.0009281, allocations: 90.06 kB / 0.7789 GB, free: 46.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 12 kB / 0.9059 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.671, allocations: 119.2 MB / 1.022 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001048/0.6721, allocations: 469.2 kB / 1.023 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.6738, allocations: 1.137 MB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.6738, allocations: 1.688 kB / 1.024 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.6739, allocations: 6.766 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.872e-05/0.674, allocations: 10.88 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.6743, allocations: 38.44 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.468e-05/0.6744, allocations: 73.66 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.6745, allocations: 16.34 kB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.6746, allocations: 25.77 kB / 1.024 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.6746, allocations: 27.34 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.6747, allocations: 2.375 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.6747, allocations: 18.05 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.6748, allocations: 12.08 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.6749, allocations: 56.41 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.675, allocations: 73.16 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.675, allocations: 3.281 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/0.675, allocations: 0 / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6751, allocations: 0 / 1.024 GB, free: 56.89 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.0004952/0.6756, allocations: 372.1 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.6756, allocations: 13.88 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.6756, allocations: 8.906 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.84e-05/0.6757, allocations: 174.5 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.6758, allocations: 3.406 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.6758, allocations: 11.34 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.676, allocations: 71.69 kB / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.676, allocations: 6.281 kB / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.676, allocations: 0 / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.676, allocations: 3.469 kB / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.6762, allocations: 55.88 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.6768, allocations: 327.1 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.677, allocations: 62.72 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.592e-05/0.6771, allocations: 38.58 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.6771, allocations: 2.25 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.6773, allocations: 83.27 kB / 1.025 GB, free: 55.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.6774, allocations: 0 / 1.025 GB, free: 55.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004196/0.6778, allocations: 149.2 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.6778, allocations: 55.94 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.6779, allocations: 123.5 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.6779, allocations: 28.61 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.678, allocations: 96.77 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.678, allocations: 12.88 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.678, allocations: 7.938 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.6781, allocations: 323.8 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.6782, allocations: 33.97 kB / 1.026 GB, free: 55.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.6783, allocations: 79.55 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.6785, allocations: 120.5 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6786, allocations: 0 / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000293/0.6789, allocations: 143.5 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6789, allocations: 10.22 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6789, allocations: 1.625 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.6789, allocations: 7.156 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.6791, allocations: 25.86 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.6791, allocations: 1.641 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.6792, allocations: 15.06 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.6792, allocations: 4.969 kB / 1.027 GB, free: 54.92 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.323e-05/0.6793, allocations: 124.8 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.6793, allocations: 10.69 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.6793, allocations: 11.52 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6793, allocations: 1.406 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6793, allocations: 3.188 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6793, allocations: 0.7031 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.6798, allocations: 390.2 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6798, allocations: 1.641 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.6798, allocations: 11.62 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6798, allocations: 0 / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.6799, allocations: 0.6094 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6799, allocations: 4.875 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6799, allocations: 0 / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.6801, allocations: 220.2 kB / 1.027 GB, free: 54.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.6802, allocations: 84.36 kB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.6802, allocations: 0.8906 kB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.6803, allocations: 20.67 kB / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.6804, allocations: 8.875 kB / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.6804, allocations: 3.422 kB / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.6804, allocations: 92.84 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6804, allocations: 0 / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002446/0.6807, allocations: 16.7 kB / 1.028 GB, free: 54.09 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.0001524/0.6809, allocations: 117.2 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.6811, allocations: 90.53 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6812, allocations: 0 / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.6813, allocations: 39.89 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.6815, allocations: 14.61 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.6819, allocations: 172.5 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.682, allocations: 0.6974 MB / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.6821, allocations: 4.656 kB / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.6821, allocations: 12.08 kB / 1.029 GB, free: 53.1 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/0.6821, allocations: 0 / 1.029 GB, free: 53.1 MB / 0.698 GB Notification: Performance of Templates: time 0.003201/0.6853, allocations: 0.872 MB / 1.029 GB, free: 53.02 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)