Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.869/1.869, allocations: 292.6 MB / 307.8 MB, free: 7.148 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.00115/0.00115, allocations: 192.8 kB / 376.5 MB, free: 4.461 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.767/1.767, allocations: 225.7 MB / 0.655 GB, free: 13.18 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.0009969/0.0009969, allocations: 96.59 kB / 0.7711 GB, free: 50.42 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004358, allocations: 13.34 kB / 0.897 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7882/0.7887, allocations: 118.2 MB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001266/0.79, allocations: 473.4 kB / 1.013 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.7916, allocations: 1.129 MB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.7917, allocations: 1.406 kB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.7917, allocations: 9.109 kB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.7918, allocations: 11.7 kB / 1.014 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.7923, allocations: 116 kB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.7924, allocations: 103.9 kB / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.7926, allocations: 19.47 kB / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.7926, allocations: 38.55 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.7927, allocations: 41.75 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.7928, allocations: 5.469 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.313e-05/0.7928, allocations: 14.81 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.7929, allocations: 14.45 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.7929, allocations: 61.91 kB / 1.014 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.7931, allocations: 84.86 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7931, allocations: 1.531 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7931, allocations: 3.938 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.7931, allocations: 0 / 1.014 GB, free: 57.38 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.0005386/0.7936, allocations: 403.9 kB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.7937, allocations: 7.5 kB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.7938, allocations: 16.05 kB / 1.015 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.701e-05/0.7939, allocations: 174.5 kB / 1.015 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.7939, allocations: 3.562 kB / 1.015 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.7939, allocations: 13.56 kB / 1.015 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.7941, allocations: 77.88 kB / 1.015 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.7942, allocations: 4.438 kB / 1.015 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.7942, allocations: 2.141 kB / 1.015 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7942, allocations: 1.219 kB / 1.015 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.7944, allocations: 61.06 kB / 1.015 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.7949, allocations: 348.8 kB / 1.016 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.795, allocations: 65.95 kB / 1.016 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.7951, allocations: 40.66 kB / 1.016 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.7952, allocations: 0 / 1.016 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.7954, allocations: 93.08 kB / 1.016 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.324e-06/0.7955, allocations: 1.547 kB / 1.016 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004469/0.7959, allocations: 168.9 kB / 1.016 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.796, allocations: 57.16 kB / 1.016 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.7961, allocations: 120.2 kB / 1.016 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.7961, allocations: 33.33 kB / 1.016 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.7962, allocations: 102.2 kB / 1.016 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.7962, allocations: 15.73 kB / 1.016 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.7962, allocations: 3.406 kB / 1.016 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.7963, allocations: 325.6 kB / 1.017 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.7964, allocations: 56.28 kB / 1.017 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.7966, allocations: 96.62 kB / 1.017 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.7969, allocations: 162.5 kB / 1.017 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7969, allocations: 1.031 kB / 1.017 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003988/0.7973, allocations: 223.9 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.7974, allocations: 40.33 kB / 1.017 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7974, allocations: 0 / 1.017 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.7974, allocations: 4 kB / 1.017 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.7975, allocations: 18.03 kB / 1.017 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.7975, allocations: 0 / 1.017 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.7978, allocations: 58.86 kB / 1.017 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.7978, allocations: 8.688 kB / 1.017 GB, free: 55.5 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 9.175e-05/0.7979, allocations: 133.7 kB / 1.017 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.7979, allocations: 3.906 kB / 1.017 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.7982, allocations: 138.2 kB / 1.017 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7982, allocations: 3.875 kB / 1.017 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7982, allocations: 0 / 1.017 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7982, allocations: 0 / 1.017 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.7986, allocations: 395.3 kB / 1.018 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7986, allocations: 0 / 1.018 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.7987, allocations: 13.23 kB / 1.018 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7987, allocations: 0 / 1.018 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.7987, allocations: 3.594 kB / 1.018 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.7988, allocations: 3.156 kB / 1.018 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7988, allocations: 3.938 kB / 1.018 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.7991, allocations: 232.4 kB / 1.018 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.7991, allocations: 84.86 kB / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.7991, allocations: 0 / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.7992, allocations: 16.17 kB / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.7993, allocations: 10.03 kB / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.7993, allocations: 2.188 kB / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.7993, allocations: 93.7 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7993, allocations: 1.031 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002443/0.7996, allocations: 29.03 kB / 1.018 GB, free: 54.71 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.0001577/0.7997, allocations: 105.2 kB / 1.018 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.8001, allocations: 189.7 kB / 1.019 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8002, allocations: 0 / 1.019 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.8003, allocations: 50.69 kB / 1.019 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.8006, allocations: 15.17 kB / 1.019 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.801, allocations: 187.9 kB / 1.019 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.8012, allocations: 0.694 MB / 1.019 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.8012, allocations: 3.734 kB / 1.019 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.8012, allocations: 13.48 kB / 1.019 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.8012, allocations: 0 / 1.019 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.003756/0.805, allocations: 1.28 MB / 1.021 GB, free: 53.63 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)