Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008194/0.0008194, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002008, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002498, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9647/0.9647, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09312/1.058, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.883/1.883, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5461/2.429, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.295e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001473/0.001496, allocations: 0.8098 MB / 0.7304 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.002746, allocations: 1.214 MB / 0.7316 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.002791, allocations: 7.938 kB / 0.7316 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.002814, allocations: 3.938 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.00286, allocations: 16.61 kB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.003153, allocations: 138.4 kB / 0.7318 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.003324, allocations: 121 kB / 0.7319 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.003411, allocations: 24.16 kB / 0.7319 GB, free: 2.156 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.003527, allocations: 74.98 kB / 0.732 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.431e-05/0.003601, allocations: 34.58 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.003624, allocations: 12.66 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.003703, allocations: 36.41 kB / 0.732 GB, free: 2.008 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.003727, allocations: 13.34 kB / 0.7321 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.003765, allocations: 27.94 kB / 0.7321 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.003907, allocations: 87.73 kB / 0.7322 GB, free: 1.883 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.003919, allocations: 0 / 0.7322 GB, free: 1.883 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.00392, allocations: 0.625 kB / 0.7322 GB, free: 1.883 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.003935, allocations: 0 / 0.7322 GB, free: 1.883 MB / 0.698 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.0004979/0.004433, allocations: 326.8 kB / 0.7325 GB, free: 1.535 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.004466, allocations: 8.688 kB / 0.7325 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.004609, allocations: 93.97 kB / 0.7326 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.004725, allocations: 118.3 kB / 0.7327 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.004744, allocations: 17.23 kB / 0.7327 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.004763, allocations: 8.375 kB / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.004887, allocations: 67.52 kB / 0.7328 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.004895, allocations: 192 / 0.7328 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.004906, allocations: 9.234 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.004914, allocations: 4.125 kB / 0.7328 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.004939, allocations: 9.375 kB / 0.7328 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.005266, allocations: 196.1 kB / 0.733 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.005345, allocations: 31.28 kB / 0.733 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.00536, allocations: 8.859 kB / 0.733 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.00538, allocations: 4.688 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.005489, allocations: 93.09 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/0.005491, allocations: 0 / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001415/0.005633, allocations: 65.67 kB / 0.7332 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.005673, allocations: 59.39 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.565e-05/0.005749, allocations: 122.6 kB / 0.7334 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.005769, allocations: 30.52 kB / 0.7334 GB, free: 500 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.005814, allocations: 100.1 kB / 0.7335 GB, free: 396 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.005835, allocations: 20.3 kB / 0.7335 GB, free: 376 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.005883, allocations: 35.06 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.00597, allocations: 322.8 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.006045, allocations: 53.69 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.006111, allocations: 94.81 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.505e-05/0.006206, allocations: 112.9 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.00621, allocations: 4 kB / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001579/0.006368, allocations: 174.6 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.006407, allocations: 37.69 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.006414, allocations: 4.531 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.006429, allocations: 5 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.006519, allocations: 12 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.006524, allocations: 7.984 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.51e-05/0.006599, allocations: 25.64 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.006612, allocations: 4 kB / 0.7344 GB, free: 15.41 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 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/0.006683, allocations: 130.5 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.006694, allocations: 8.969 kB / 0.7345 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/0.006785, allocations: 62.11 kB / 0.7345 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006787, allocations: 0 / 0.7345 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.006789, allocations: 0.5312 kB / 0.7345 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.006794, allocations: 3.984 kB / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.00694, allocations: 220.5 kB / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006941, allocations: 0 / 0.7348 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.006982, allocations: 15.92 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.006989, allocations: 7.891 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006991, allocations: 1.219 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.006997, allocations: 4 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.006999, allocations: 0 / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.007001, allocations: 5.438 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.975e-05/0.00709, allocations: 155.5 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.007102, allocations: 7.984 kB / 0.735 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.007137, allocations: 0 / 0.735 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.007167, allocations: 16.53 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.007172, allocations: 0 / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.046e-05/0.007192, allocations: 26.08 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007192, allocations: 0 / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000141/0.007333, allocations: 24.66 kB / 0.735 GB, free: 14.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.007447, allocations: 85.11 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.007602, allocations: 162.3 kB / 0.7353 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.007607, allocations: 3.938 kB / 0.7353 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.719e-05/0.007645, allocations: 24.84 kB / 0.7353 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.007829, allocations: 99.59 kB / 0.7354 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007274/0.008556, allocations: 185.7 kB / 0.7355 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.008598, allocations: 63.34 kB / 0.7356 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.008625, allocations: 9.234 kB / 0.7356 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.008708, allocations: 63.36 kB / 0.7357 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/0.008709, allocations: 0 / 0.7357 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.003384/0.01209, allocations: 1.659 MB / 0.7373 GB, free: 12.34 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.911985035985708]