Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.643/1.643, allocations: 291.7 MB / 306.8 MB, free: 7.652 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.001066/0.001066, allocations: 184.2 kB / 375.4 MB, free: 5.109 MB / 298.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.468/1.468, allocations: 225.7 MB / 0.6538 GB, free: 13.6 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.0008543/0.0008545, allocations: 97.3 kB / 0.7699 GB, free: 50.49 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.000494, allocations: 13.56 kB / 0.8956 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7749, allocations: 118.1 MB / 1.011 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001152/0.7761, allocations: 466.6 kB / 1.011 GB, free: 58.13 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.7778, allocations: 1.054 MB / 1.012 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.7778, allocations: 0 / 1.012 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.7779, allocations: 6 kB / 1.012 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.778, allocations: 5.5 kB / 1.012 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.7783, allocations: 44.69 kB / 1.012 GB, free: 58.06 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.7784, allocations: 61.86 kB / 1.013 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.7786, allocations: 21.69 kB / 1.013 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.7786, allocations: 28.17 kB / 1.013 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.7787, allocations: 30.98 kB / 1.013 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.7788, allocations: 1.188 kB / 1.013 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.7788, allocations: 14.48 kB / 1.013 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.7789, allocations: 16.34 kB / 1.013 GB, free: 58.03 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.7789, allocations: 32.2 kB / 1.013 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.7791, allocations: 52.23 kB / 1.013 GB, free: 58 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.7791, allocations: 3.312 kB / 1.013 GB, free: 58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.156e-06/0.7791, allocations: 0.5 kB / 1.013 GB, free: 58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.7791, allocations: 2.031 kB / 1.013 GB, free: 58 MB / 0.7136 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.00059/0.7797, allocations: 374.2 kB / 1.013 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.7798, allocations: 15.38 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.7798, allocations: 10.55 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.78, allocations: 169.2 kB / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.78, allocations: 5.531 kB / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.78, allocations: 7.094 kB / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.7802, allocations: 71 kB / 1.013 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.7803, allocations: 5.375 kB / 1.013 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.7803, allocations: 3.094 kB / 1.013 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.7803, allocations: 2.375 kB / 1.013 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.7805, allocations: 60.33 kB / 1.013 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.7812, allocations: 327.7 kB / 1.014 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.7814, allocations: 64.17 kB / 1.014 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.7815, allocations: 38.95 kB / 1.014 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.7816, allocations: 2.266 kB / 1.014 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.7818, allocations: 87.22 kB / 1.014 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.7818, allocations: 0 / 1.014 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004218/0.7822, allocations: 151.4 kB / 1.014 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.7823, allocations: 54.28 kB / 1.014 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.7824, allocations: 125.3 kB / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.7824, allocations: 29.64 kB / 1.014 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.7824, allocations: 91.36 kB / 1.014 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.7825, allocations: 18.81 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.7825, allocations: 3.969 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.7825, allocations: 320 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.7826, allocations: 33.58 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.7828, allocations: 85.22 kB / 1.015 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.783, allocations: 122.8 kB / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.783, allocations: 0 / 1.015 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002749/0.7833, allocations: 140.6 kB / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.7833, allocations: 7.594 kB / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.7833, allocations: 2.906 kB / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7833, allocations: 0 / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.7835, allocations: 26.28 kB / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7835, allocations: 5.156 kB / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.7836, allocations: 18.88 kB / 1.015 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.7836, allocations: 5.344 kB / 1.015 GB, free: 56.21 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.339e-05/0.7837, allocations: 123.8 kB / 1.015 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.7837, allocations: 6.969 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.7837, allocations: 13.84 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7837, allocations: 0.9062 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7837, allocations: 1.344 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7838, allocations: 0.5 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.7842, allocations: 381.8 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7842, allocations: 0.5312 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.7842, allocations: 14.42 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7842, allocations: 0.7969 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.7843, allocations: 3.875 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7843, allocations: 6.031 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7843, allocations: 0 / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.7845, allocations: 218 kB / 1.016 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.7846, allocations: 85.27 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.7846, allocations: 1.125 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.7847, allocations: 14.33 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.7848, allocations: 9.047 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.7848, allocations: 4.125 kB / 1.016 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.7848, allocations: 100.2 kB / 1.016 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7848, allocations: 0 / 1.016 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002491/0.7851, allocations: 11.41 kB / 1.016 GB, free: 55.47 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.7853, allocations: 119.1 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.7856, allocations: 92.19 kB / 1.016 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7856, allocations: 0 / 1.016 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.7857, allocations: 44.67 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.786, allocations: 9.062 kB / 1.016 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.7864, allocations: 166.5 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.7865, allocations: 0.6927 MB / 1.017 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.961e-05/0.7866, allocations: 11.55 kB / 1.017 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.7866, allocations: 11.75 kB / 1.017 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of SimCode: time 1.9e-07/0.7866, allocations: 0 / 1.017 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.003238/0.7899, allocations: 0.8578 MB / 1.018 GB, free: 54.47 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)