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.SampleTrigger.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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.716/1.716, allocations: 291.7 MB / 306.8 MB, free: 7.707 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.001004/0.001004, allocations: 181.4 kB / 375.4 MB, free: 5.137 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.876/1.876, allocations: 225.7 MB / 0.6538 GB, free: 13.64 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.0009978/0.0009981, allocations: 100.6 kB / 0.7699 GB, free: 50.5 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004576, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8072, allocations: 118.1 MB / 1.011 GB, free: 58.16 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001241/0.8085, allocations: 467.6 kB / 1.011 GB, free: 58.15 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.8101, allocations: 1.047 MB / 1.012 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.8102, allocations: 3.156 kB / 1.012 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.8102, allocations: 4.5 kB / 1.012 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.911e-05/0.8103, allocations: 9.031 kB / 1.012 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.8106, allocations: 37.69 kB / 1.012 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.8107, allocations: 67.12 kB / 1.013 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.8109, allocations: 22.97 kB / 1.013 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.811, allocations: 25.2 kB / 1.013 GB, free: 58.06 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.101e-05/0.811, allocations: 31.67 kB / 1.013 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.8111, allocations: 3.75 kB / 1.013 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.952e-05/0.8111, allocations: 13.02 kB / 1.013 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.8112, allocations: 16.45 kB / 1.013 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.8112, allocations: 32.17 kB / 1.013 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.8114, allocations: 53.09 kB / 1.013 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.8114, allocations: 1.625 kB / 1.013 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8114, allocations: 0 / 1.013 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.8114, allocations: 0 / 1.013 GB, free: 58.02 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.0006244/0.812, allocations: 377.3 kB / 1.013 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.8121, allocations: 7.844 kB / 1.013 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.8121, allocations: 16.94 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.8123, allocations: 173.5 kB / 1.013 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.8123, allocations: 4.203 kB / 1.013 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.8123, allocations: 8.812 kB / 1.013 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.8125, allocations: 70.05 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.8125, allocations: 4.844 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.8126, allocations: 0 / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.8126, allocations: 2.594 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.8128, allocations: 61.94 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.8134, allocations: 327.1 kB / 1.014 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.8136, allocations: 68.81 kB / 1.014 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.8137, allocations: 32.73 kB / 1.014 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.8137, allocations: 4.984 kB / 1.014 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.8139, allocations: 84.86 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.8139, allocations: 0 / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004205/0.8144, allocations: 145.9 kB / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.8144, allocations: 58.28 kB / 1.014 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.8145, allocations: 125.6 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.8145, allocations: 30.08 kB / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.8146, allocations: 95.48 kB / 1.014 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.8146, allocations: 15.34 kB / 1.014 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.8146, allocations: 0 / 1.014 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.8147, allocations: 325.6 kB / 1.015 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.8148, allocations: 34.97 kB / 1.015 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.8149, allocations: 83.62 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.8151, allocations: 119.1 kB / 1.015 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8151, allocations: 0 / 1.015 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002702/0.8154, allocations: 138.9 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.8154, allocations: 6.375 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8155, allocations: 4.312 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8155, allocations: 7.297 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.8156, allocations: 17.83 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.8156, allocations: 6.75 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.275e-05/0.8157, allocations: 23.3 kB / 1.015 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.8157, allocations: 3.875 kB / 1.015 GB, free: 56.23 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.293e-05/0.8158, allocations: 119.2 kB / 1.015 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.8158, allocations: 12.7 kB / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.8159, allocations: 11.25 kB / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8159, allocations: 0 / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8159, allocations: 0 / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8159, allocations: 0 / 1.015 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.8163, allocations: 388.9 kB / 1.016 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.8163, allocations: 5.156 kB / 1.016 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.8164, allocations: 11.95 kB / 1.016 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8164, allocations: 1.438 kB / 1.016 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.8164, allocations: 0 / 1.016 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.8164, allocations: 5 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8164, allocations: 0 / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.8166, allocations: 212.7 kB / 1.016 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.8167, allocations: 85.98 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.8167, allocations: 4.703 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.8168, allocations: 11.34 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.8168, allocations: 11 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.8169, allocations: 1.625 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.8169, allocations: 96.23 kB / 1.016 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8169, allocations: 0 / 1.016 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002386/0.8171, allocations: 16.56 kB / 1.016 GB, free: 55.49 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.0001483/0.8173, allocations: 119 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.8176, allocations: 88.55 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8176, allocations: 0.6562 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.8177, allocations: 44.27 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.818, allocations: 8.375 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.8183, allocations: 170.6 kB / 1.016 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.8184, allocations: 0.6907 MB / 1.017 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.8185, allocations: 14.09 kB / 1.017 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.8185, allocations: 10.34 kB / 1.017 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8185, allocations: 1.219 kB / 1.017 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of Templates: time 0.00324/0.8217, allocations: 0.8473 MB / 1.018 GB, free: 54.5 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)