Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.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.00113/0.00113, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001868/0.002998, 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.001122/0.001122, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.00257, allocations: 479.5 kB / 11.83 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 1.039/1.039, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08844/1.127, 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.833/1.833, allocations: 378.3 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4847/2.318, allocations: 123.3 MB / 0.7283 GB, free: 5.75 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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0.5469 kB / 0.7296 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.287e-05, allocations: 3.094 kB / 0.7296 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002786/0.002809, allocations: 1.651 MB / 0.7312 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.00352, allocations: 0.6388 MB / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.00357, allocations: 0 / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.531e-05/0.003635, allocations: 12.42 kB / 0.7319 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.003674, allocations: 20.78 kB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.003955, allocations: 105.1 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.004087, allocations: 97.52 kB / 0.7321 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.989e-05/0.004167, allocations: 16.91 kB / 0.7321 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.004324, allocations: 80.61 kB / 0.7322 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.004394, allocations: 39.94 kB / 0.7322 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.004412, allocations: 13.38 kB / 0.7322 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.004537, allocations: 95.84 kB / 0.7323 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.004578, allocations: 19.94 kB / 0.7323 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.004609, allocations: 19.94 kB / 0.7324 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.004768, allocations: 120.3 kB / 0.7325 GB, free: 1.586 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.004783, allocations: 0 / 0.7325 GB, free: 1.586 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004784, allocations: 0.6875 kB / 0.7325 GB, free: 1.586 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.004797, allocations: 0 / 0.7325 GB, free: 1.586 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000497/0.005294, allocations: 375.4 kB / 0.7328 GB, free: 1.191 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.005323, allocations: 8.031 kB / 0.7328 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.005517, allocations: 119.1 kB / 0.733 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.005661, allocations: 133.6 kB / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.00567, allocations: 1.406 kB / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.005687, allocations: 8.359 kB / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.00583, allocations: 86.36 kB / 0.7332 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005838, allocations: 4.188 kB / 0.7332 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.005848, allocations: 5.25 kB / 0.7332 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.00587, allocations: 11.92 kB / 0.7332 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.958e-05/0.0059, allocations: 8.75 kB / 0.7332 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.00619, allocations: 198.5 kB / 0.7334 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/0.006269, allocations: 80.27 kB / 0.7335 GB, free: 480 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.006291, allocations: 16.84 kB / 0.7335 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.006303, allocations: 0 / 0.7335 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.006421, allocations: 82.2 kB / 0.7336 GB, free: 364 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.006422, allocations: 0 / 0.7336 GB, free: 364 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001398/0.006561, allocations: 74.39 kB / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.006593, allocations: 55.41 kB / 0.7337 GB, free: 216 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.006663, allocations: 139.8 kB / 0.7338 GB, free: 64 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.00668, allocations: 34.75 kB / 0.7338 GB, free: 24 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.00674, allocations: 96.08 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.006757, allocations: 19.78 kB / 0.734 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.006799, allocations: 30.41 kB / 0.734 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.006872, allocations: 326.8 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.4e-05/0.006916, allocations: 49.06 kB / 0.7343 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.006943, allocations: 45.67 kB / 0.7344 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.178e-05/0.007005, allocations: 69.12 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.007007, allocations: 0 / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001007/0.007108, allocations: 129.6 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.007139, allocations: 29.7 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.007144, allocations: 1.781 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.007156, allocations: 7.938 kB / 0.7346 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.007243, allocations: 19.97 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007245, allocations: 0 / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.0073, allocations: 21.16 kB / 0.7347 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.007309, allocations: 4 kB / 0.7347 GB, free: 15.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * 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 6.213e-05/0.007371, allocations: 118.5 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.007383, allocations: 11.92 kB / 0.7348 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.007408, allocations: 16.78 kB / 0.7348 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.007418, allocations: 4 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.00742, allocations: 0 / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.007424, allocations: 8.719 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.036e-05/0.007505, allocations: 85.81 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.007507, allocations: 0.625 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.007547, allocations: 12.73 kB / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.007558, allocations: 11.89 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.00756, allocations: 5.547 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.007566, allocations: 7.875 kB / 0.7349 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007568, allocations: 4 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007569, allocations: 0 / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.00768, allocations: 91.38 kB / 0.735 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.007699, allocations: 7.938 kB / 0.735 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.007739, allocations: 9.047 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.007778, allocations: 15.97 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.007784, allocations: 4.656 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.347e-05/0.007807, allocations: 26.52 kB / 0.7351 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007807, allocations: 0.7188 kB / 0.7351 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001389/0.007946, allocations: 51.81 kB / 0.7351 GB, free: 14.6 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001303/0.008077, allocations: 102 kB / 0.7352 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.008207, allocations: 121.9 kB / 0.7353 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.008216, allocations: 9.016 kB / 0.7354 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.22e-05/0.008258, allocations: 24.8 kB / 0.7354 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.00839, allocations: 82.19 kB / 0.7355 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008117/0.009202, allocations: 232.4 kB / 0.7357 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.009234, allocations: 63.34 kB / 0.7357 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.922e-05/0.009273, allocations: 10.02 kB / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.009336, allocations: 59.38 kB / 0.7358 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.009336, allocations: 0 / 0.7358 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.003257/0.01259, allocations: 1.512 MB / 0.7373 GB, free: 12.38 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.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.81703913025558]