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.001854/0.001854, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002282/0.002282, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.589/1.589, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.375/3.375, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",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.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003001/0.003001, allocations: 67.89 kB / 1.149 GB, free: 26.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4804, allocations: 176.1 MB / 1.321 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003098/0.4835, allocations: 1.582 MB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.4848, allocations: 0.6466 MB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.4849, allocations: 3.938 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.485, allocations: 15.92 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.167e-05/0.4851, allocations: 11.81 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.4855, allocations: 107.7 kB / 1.324 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.4857, allocations: 103.6 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4858, allocations: 12.22 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.486, allocations: 55.78 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.768e-05/0.4861, allocations: 43.81 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.4861, allocations: 12 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.4863, allocations: 91.91 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.4863, allocations: 23.86 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.4864, allocations: 47.72 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.4867, allocations: 151.4 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4867, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4867, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.4867, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 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.0009295/0.4876, allocations: 464.6 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4876, allocations: 15.98 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.4879, allocations: 36.81 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.4882, allocations: 198.1 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4883, allocations: 4.375 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.4883, allocations: 8.375 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.4886, allocations: 109.9 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4886, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4886, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.4887, allocations: 4 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.489, allocations: 91.91 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.4897, allocations: 348.6 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.4901, allocations: 86.5 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.4902, allocations: 52.88 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.4903, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000309/0.4906, allocations: 123.3 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.4906, allocations: 0 / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0007277/0.4913, allocations: 217.4 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.4914, allocations: 51.41 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.4915, allocations: 147.8 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.4915, allocations: 25.7 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.4916, allocations: 104 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.4917, allocations: 19.86 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.4917, allocations: 29.7 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4919, allocations: 322.8 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.4921, allocations: 55.95 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.4923, allocations: 59.94 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.4927, allocations: 138.5 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4927, allocations: 0 / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005207/0.4932, allocations: 219.2 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.4932, allocations: 33.69 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4932, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4933, allocations: 4 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.4934, allocations: 15.98 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4934, allocations: 0 / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.4936, allocations: 31.84 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.4936, allocations: 8 kB / 1.327 GB, free: 12.77 MB / 1.029 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 0.0001225/0.4937, allocations: 121.8 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.4937, allocations: 11.91 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.4938, allocations: 16.69 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.4938, allocations: 8.469 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4938, allocations: 0 / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4938, allocations: 3.938 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.494, allocations: 193.6 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.494, allocations: 4 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.4941, allocations: 19.92 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4941, allocations: 0 / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.4941, allocations: 3.984 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4941, allocations: 0 / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4941, allocations: 4 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.4947, allocations: 192.8 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.4947, allocations: 85.02 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.4947, allocations: 4 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4949, allocations: 19.91 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.4949, allocations: 15.92 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.495, allocations: 4 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.039e-05/0.495, allocations: 107.8 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.495, allocations: 4 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002656/0.4953, allocations: 39.94 kB / 1.328 GB, free: 11.83 MB / 1.029 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.0001892/0.4955, allocations: 111.2 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005277/0.496, allocations: 183.2 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.496, allocations: 0 / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.4963, allocations: 59.95 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.4965, allocations: 11.98 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.497, allocations: 237 kB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.4974, allocations: 0.7002 MB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.803e-05/0.4975, allocations: 15.98 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.4975, allocations: 19.42 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4975, allocations: 0 / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of Templates: time 0.004791/0.5023, allocations: 1.46 MB / 1.33 GB, free: 8.98 MB / 1.029 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.511414152570069]