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.00202/0.00202, allocations: 104.2 kB / 19.71 MB, free: 2.141 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.002893/0.002893, allocations: 210.9 kB / 23 MB, free: 4.969 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.602/3.602, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.001989/0.001989, allocations: 74.09 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3965, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002944/0.3994, allocations: 1.548 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.4006, allocations: 0.6116 MB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.4007, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.4008, allocations: 15.86 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.4009, allocations: 15.8 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.4013, allocations: 107.8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.4015, allocations: 95.64 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.4016, allocations: 16.2 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.4018, allocations: 55.84 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.4019, allocations: 47.77 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.4019, allocations: 8 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.4021, allocations: 99.83 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.4021, allocations: 19.92 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.4022, allocations: 35.8 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.4024, allocations: 151.4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4024, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4024, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.4024, allocations: 0 / 1.33 GB, free: 14.15 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.0008592/0.4033, allocations: 387.5 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4033, allocations: 8.031 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.4036, allocations: 32.86 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.4039, allocations: 147.1 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4039, allocations: 8.312 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.4039, allocations: 4.375 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.4043, allocations: 113.9 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.4043, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4043, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.4043, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.4047, allocations: 83.86 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.4053, allocations: 288.3 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.4056, allocations: 82.52 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.4058, allocations: 60.81 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.4058, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.4061, allocations: 111.3 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.4061, allocations: 8 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006775/0.4068, allocations: 205.4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.4068, allocations: 55.47 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.407, allocations: 147.3 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.407, allocations: 25.7 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.4071, allocations: 108 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.4071, allocations: 23.86 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.4072, allocations: 25.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4073, allocations: 326.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.4076, allocations: 89.66 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.4078, allocations: 85.59 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.4081, allocations: 150.4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4081, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004913/0.4086, allocations: 225.3 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.4087, allocations: 41.69 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4087, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4087, allocations: 96 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.4088, allocations: 23.92 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4088, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.409, allocations: 27.84 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.409, allocations: 0 / 1.333 GB, free: 11.09 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.0001143/0.4091, allocations: 122.3 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.4091, allocations: 11.91 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.557e-05/0.4092, allocations: 20.7 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4092, allocations: 0 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4092, allocations: 0 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.4092, allocations: 7.953 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.4092, allocations: 7.938 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4094, allocations: 15.97 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.4094, allocations: 19.97 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005405/0.41, allocations: 240.8 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004874/0.4105, allocations: 330.6 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001864/0.4107, allocations: 64.11 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.764e-05/0.4107, allocations: 108.9 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of Backend: time 3.61e-07/0.4107, allocations: 4 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007595/0.4115, allocations: 243.4 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007625/0.4123, allocations: 0.6532 MB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of Templates: time 0.005615/0.4179, allocations: 2.053 MB / 1.336 GB, free: 7.129 MB / 1.029 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=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/jenkins1/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.692379164000158]