Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.383/2.383, allocations: 254.9 MB / 269.9 MB, free: 9.629 MB / 218.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.001337/0.001337, allocations: 196 kB / 329.5 MB, free: 1.145 MB / 250.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 2.686/2.686, allocations: 225.6 MB / 0.6002 GB, free: 2.121 MB / 426.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.0009724/0.0009723, allocations: 106.1 kB / 0.7074 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.000495, allocations: 12.66 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2364, allocations: 109.1 MB / 0.9308 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001707/0.2382, allocations: 1.178 MB / 0.9319 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005109/0.2388, allocations: 215.5 kB / 0.9321 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.2388, allocations: 0 / 0.9321 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.2389, allocations: 3.938 kB / 0.9321 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.239, allocations: 15.91 kB / 0.9321 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.2392, allocations: 19.98 kB / 0.9322 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.821e-05/0.2393, allocations: 59.78 kB / 0.9322 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2394, allocations: 20.17 kB / 0.9322 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.2395, allocations: 19.92 kB / 0.9323 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.2395, allocations: 15.92 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.2396, allocations: 7.938 kB / 0.9323 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.2396, allocations: 4 kB / 0.9323 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.2396, allocations: 15.97 kB / 0.9323 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.2397, allocations: 37.64 kB / 0.9323 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.566e-05/0.2398, allocations: 47.89 kB / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2398, allocations: 0 / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2398, allocations: 0 / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2398, allocations: 0 / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006188/0.2404, allocations: 383.5 kB / 0.9327 GB, free: 23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2405, allocations: 8.031 kB / 0.9328 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.2405, allocations: 12.83 kB / 0.9328 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2406, allocations: 176.3 kB / 0.9329 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.2407, allocations: 4.375 kB / 0.9329 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.2407, allocations: 4.375 kB / 0.9329 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.241, allocations: 86.09 kB / 0.933 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.241, allocations: 3.938 kB / 0.933 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.241, allocations: 4 kB / 0.933 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.241, allocations: 0 / 0.933 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.2414, allocations: 67.92 kB / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.242, allocations: 320.6 kB / 0.9334 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.2422, allocations: 70.48 kB / 0.9335 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.2424, allocations: 40.97 kB / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.2424, allocations: 4 kB / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.2428, allocations: 83.36 kB / 0.9336 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/0.2428, allocations: 4 kB / 0.9336 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0006399/0.2434, allocations: 153.5 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2435, allocations: 63.41 kB / 0.9338 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.2436, allocations: 113.8 kB / 0.9339 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2436, allocations: 25.7 kB / 0.9339 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.2437, allocations: 100.1 kB / 0.934 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.2437, allocations: 19.75 kB / 0.9341 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.2437, allocations: 4 kB / 0.9341 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.2438, allocations: 318.8 kB / 0.9344 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.244, allocations: 39.97 kB / 0.9344 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.2442, allocations: 64.27 kB / 0.9345 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.2444, allocations: 43.92 kB / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2444, allocations: 0 / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004386/0.2448, allocations: 129.6 kB / 0.9346 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2448, allocations: 8 kB / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2449, allocations: 0 / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.2449, allocations: 0 / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.2451, allocations: 23.92 kB / 0.9347 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2451, allocations: 0 / 0.9347 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.2453, allocations: 32.23 kB / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.2453, allocations: 7.938 kB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 0.0001017/0.2454, allocations: 117.8 kB / 0.9348 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.2454, allocations: 0 / 0.9348 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/0.2459, allocations: 141.9 kB / 0.9349 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.246, allocations: 0 / 0.9349 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.246, allocations: 0 / 0.9349 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.246, allocations: 0 / 0.9349 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007125/0.2467, allocations: 414.7 kB / 0.9353 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2467, allocations: 0 / 0.9353 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.2468, allocations: 15.98 kB / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2469, allocations: 0 / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2469, allocations: 0 / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2469, allocations: 3.938 kB / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2469, allocations: 0 / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.2473, allocations: 223.4 kB / 0.9356 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.2474, allocations: 81.11 kB / 0.9356 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.2474, allocations: 3.938 kB / 0.9357 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.2476, allocations: 31.91 kB / 0.9357 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.2477, allocations: 7.984 kB / 0.9357 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2477, allocations: 0 / 0.9357 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.2477, allocations: 91.22 kB / 0.9358 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2478, allocations: 0 / 0.9358 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003087/0.2481, allocations: 23.92 kB / 0.9358 GB, free: 19.58 MB / 0.5886 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 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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.0001179/0.2482, allocations: 107.8 kB / 0.9359 GB, free: 19.47 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.2486, allocations: 83.89 kB / 0.936 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2487, allocations: 0 / 0.936 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.2489, allocations: 48.22 kB / 0.936 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.2492, allocations: 15.89 kB / 0.936 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.2497, allocations: 195.2 kB / 0.9362 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.2499, allocations: 0.6888 MB / 0.9369 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.336e-05/0.25, allocations: 8.125 kB / 0.9369 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.25, allocations: 11.72 kB / 0.9369 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/0.25, allocations: 0 / 0.9369 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of Templates: time 0.003844/0.2539, allocations: 0.7675 MB / 0.9377 GB, free: 17.61 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)