Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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: 99.64 kB / 18.95 MB, free: 2.668 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.002108/0.002108, allocations: 213 kB / 22.24 MB, free: 5.262 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.001/3.001, allocations: 475.9 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002087/0.002087, allocations: 67.5 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3298, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003009/0.3328, allocations: 1.562 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.334, allocations: 0.6095 MB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.3341, allocations: 0 / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.3342, allocations: 7.875 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.3343, allocations: 23.78 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.3348, allocations: 107.8 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.335, allocations: 95.62 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3351, allocations: 16.22 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.3352, allocations: 51.84 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.3353, allocations: 43.77 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.3354, allocations: 8 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.3355, allocations: 99.83 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.3356, allocations: 19.92 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.3356, allocations: 27.86 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.3359, allocations: 159.3 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3359, allocations: 4 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3359, allocations: 0 / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3359, allocations: 0 / 1.286 GB, free: 9.113 MB / 0.9825 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.0007939/0.3367, allocations: 385.5 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3367, allocations: 16.02 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002837/0.337, allocations: 24.88 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.3373, allocations: 142.4 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3373, allocations: 4.375 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3373, allocations: 12.31 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.3376, allocations: 105.9 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3377, allocations: 0 / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3377, allocations: 4 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.3377, allocations: 7.938 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.338, allocations: 91.91 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000649/0.3387, allocations: 272.4 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.339, allocations: 94.44 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3392, allocations: 52.88 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3392, allocations: 4.109 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/0.3395, allocations: 119.3 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3395, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.000688/0.3402, allocations: 205.4 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3403, allocations: 63.39 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3404, allocations: 148.8 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3404, allocations: 29.77 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.3405, allocations: 104 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.3405, allocations: 19.86 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.3406, allocations: 29.7 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3408, allocations: 326.8 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.341, allocations: 81.66 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.3412, allocations: 93.64 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.3416, allocations: 142.4 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3416, allocations: 0 / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005094/0.3421, allocations: 229.3 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.3421, allocations: 31.89 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3421, allocations: 7.938 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3421, allocations: 4 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.3423, allocations: 24 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3423, allocations: 3.938 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.3424, allocations: 19.92 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3424, allocations: 7.938 kB / 1.289 GB, free: 6.055 MB / 0.9825 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.0001086/0.3426, allocations: 121.8 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.3426, allocations: 7.953 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.3426, allocations: 16.72 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.3426, allocations: 4 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3426, allocations: 0 / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3426, allocations: 7.984 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.3428, allocations: 137.2 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3428, allocations: 0 / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3429, allocations: 15.98 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3429, allocations: 0 / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3429, allocations: 3.984 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3429, allocations: 0 / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3429, allocations: 4 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.3434, allocations: 188.9 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.3434, allocations: 3.953 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3434, allocations: 4 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3436, allocations: 15.97 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.3436, allocations: 15.97 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3436, allocations: 8 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.757e-05/0.3437, allocations: 111.2 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3437, allocations: 0 / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000267/0.344, allocations: 43.89 kB / 1.289 GB, free: 5.297 MB / 0.9825 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.0002165/0.3442, allocations: 127.1 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005616/0.3448, allocations: 201 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3448, allocations: 4 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.345, allocations: 67.88 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.3452, allocations: 12.17 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.3459, allocations: 232.4 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.433e-05/0.346, allocations: 89.27 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.859e-05/0.3461, allocations: 15.97 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.3461, allocations: 11.44 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3461, allocations: 0 / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of Templates: time 0.005525/0.3516, allocations: 1.541 MB / 1.291 GB, free: 2.961 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.14871185645461]