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.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.768/1.768, allocations: 291.7 MB / 306.8 MB, free: 7.672 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.001036/0.001036, allocations: 189.6 kB / 375.4 MB, free: 5.121 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.729/1.729, 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.0008432/0.0008431, allocations: 101.1 kB / 0.7699 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005933/0.0005933, allocations: 8 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8368/0.8375, allocations: 118.1 MB / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001022/0.8385, allocations: 472.6 kB / 1.011 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.8401, allocations: 1.125 MB / 1.012 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.8401, allocations: 3.312 kB / 1.012 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.8402, allocations: 9.562 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.631e-05/0.8403, allocations: 10 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.8407, allocations: 121.1 kB / 1.013 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.8409, allocations: 96.06 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.841, allocations: 25.69 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.8411, allocations: 39.89 kB / 1.013 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.8412, allocations: 45.5 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.8412, allocations: 5.625 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.491e-05/0.8413, allocations: 18.53 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.8413, allocations: 10.8 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.8413, allocations: 39.83 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.8415, allocations: 81.77 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8415, allocations: 1.531 kB / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8415, allocations: 0 / 1.013 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.8415, allocations: 0 / 1.013 GB, free: 57.27 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004881/0.842, allocations: 401.6 kB / 1.013 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.842, allocations: 12.52 kB / 1.013 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.8421, allocations: 6.656 kB / 1.013 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.704e-05/0.8422, allocations: 181.7 kB / 1.014 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.8422, allocations: 6.812 kB / 1.014 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.8422, allocations: 9.141 kB / 1.014 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.8424, allocations: 84.05 kB / 1.014 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8424, allocations: 3.938 kB / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.8425, allocations: 2.781 kB / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.8425, allocations: 0 / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.8427, allocations: 62.89 kB / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.8431, allocations: 346.8 kB / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.8433, allocations: 70.73 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.723e-05/0.8434, allocations: 35.92 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.8435, allocations: 2.844 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.8437, allocations: 94.31 kB / 1.014 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.8437, allocations: 0 / 1.014 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004458/0.8441, allocations: 165 kB / 1.014 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.8442, allocations: 60.67 kB / 1.014 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.8443, allocations: 120.4 kB / 1.015 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.8443, allocations: 29.48 kB / 1.015 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.8443, allocations: 102.8 kB / 1.015 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.8444, allocations: 11.97 kB / 1.015 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.8444, allocations: 8.094 kB / 1.015 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.8444, allocations: 325 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.8446, allocations: 58.16 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.8448, allocations: 96.28 kB / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.845, allocations: 163.2 kB / 1.015 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.845, allocations: 0 / 1.015 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004025/0.8454, allocations: 226.6 kB / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.8455, allocations: 39 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.8455, allocations: 4.094 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.8455, allocations: 1.438 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.682e-05/0.8456, allocations: 20.62 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.8456, allocations: 4.781 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.8459, allocations: 59.58 kB / 1.016 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.8459, allocations: 8.719 kB / 1.016 GB, free: 55.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.632e-05/0.846, allocations: 126.2 kB / 1.016 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.846, allocations: 6.312 kB / 1.016 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.8463, allocations: 134.3 kB / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.8463, allocations: 7.484 kB / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8463, allocations: 0.7812 kB / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8463, allocations: 0 / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.8467, allocations: 387.7 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8468, allocations: 2.094 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.8468, allocations: 16.31 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8468, allocations: 2.938 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.8469, allocations: 0.625 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8469, allocations: 0 / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8469, allocations: 3.938 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.8472, allocations: 224 kB / 1.017 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.8472, allocations: 82.86 kB / 1.017 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.8472, allocations: 2.875 kB / 1.017 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.8473, allocations: 13.41 kB / 1.017 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.8474, allocations: 14.27 kB / 1.017 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.8474, allocations: 8.656 kB / 1.017 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.8474, allocations: 94.8 kB / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8474, allocations: 0 / 1.017 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002413/0.8477, allocations: 21.12 kB / 1.017 GB, free: 54.59 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001627/0.8479, allocations: 111 kB / 1.017 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.8482, allocations: 189.1 kB / 1.017 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8482, allocations: 0 / 1.017 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.8484, allocations: 51.89 kB / 1.017 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.8486, allocations: 13.94 kB / 1.017 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.849, allocations: 186.5 kB / 1.017 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.8491, allocations: 0.6929 MB / 1.018 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.8492, allocations: 12.55 kB / 1.018 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.8492, allocations: 10.19 kB / 1.018 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8492, allocations: 0 / 1.018 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of Templates: time 0.003514/0.8527, allocations: 1.269 MB / 1.019 GB, free: 53.51 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)