Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 106.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 443.5 MB / 0.731 GB, free: 12.72 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=517,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=517,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.88 kB / 1.06 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7791, allocations: 160.7 MB / 1.217 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002865/0.782, allocations: 1.561 MB / 1.218 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.7831, allocations: 0.5806 MB / 1.219 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.7831, allocations: 0 / 1.219 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.743e-05/0.7832, allocations: 5.094 kB / 1.219 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.273e-05/0.7833, allocations: 26.09 kB / 1.219 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.7837, allocations: 99.19 kB / 1.219 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.7838, allocations: 94.52 kB / 1.219 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.7839, allocations: 14.91 kB / 1.219 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.784, allocations: 49.39 kB / 1.219 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.21e-05/0.7841, allocations: 45.64 kB / 1.219 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.7842, allocations: 6.906 kB / 1.219 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.7843, allocations: 92.69 kB / 1.219 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.7844, allocations: 20.3 kB / 1.219 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.7844, allocations: 37.62 kB / 1.219 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.7847, allocations: 146.4 kB / 1.219 GB, free: 1.898 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7847, allocations: 1.031 kB / 1.219 GB, free: 1.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7847, allocations: 0 / 1.219 GB, free: 1.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7847, allocations: 0 / 1.219 GB, free: 1.898 MB / 0.92 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.0008118/0.7855, allocations: 453.6 kB / 1.22 GB, free: 1.449 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.7855, allocations: 9.406 kB / 1.22 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.7856, allocations: 13.56 kB / 1.22 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.7858, allocations: 201.5 kB / 1.22 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.7858, allocations: 1.969 kB / 1.22 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.7858, allocations: 4.375 kB / 1.22 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.7861, allocations: 114.9 kB / 1.22 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.7861, allocations: 0 / 1.22 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.7861, allocations: 1.438 kB / 1.22 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.7861, allocations: 3.438 kB / 1.22 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.7865, allocations: 94.27 kB / 1.22 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.7871, allocations: 352.7 kB / 1.22 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.7874, allocations: 88.58 kB / 1.22 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.7876, allocations: 53.28 kB / 1.221 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.7876, allocations: 1.062 kB / 1.221 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.7879, allocations: 114 kB / 1.221 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.7879, allocations: 0 / 1.221 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0006415/0.7886, allocations: 219 kB / 1.221 GB, free: 468 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.7886, allocations: 53.44 kB / 1.221 GB, free: 404 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.7888, allocations: 136.8 kB / 1.221 GB, free: 284 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.7888, allocations: 26.36 kB / 1.221 GB, free: 252 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.7889, allocations: 104.4 kB / 1.221 GB, free: 148 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.7889, allocations: 31.69 kB / 1.221 GB, free: 120 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.789, allocations: 26.14 kB / 1.221 GB, free: 96 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.7891, allocations: 321 kB / 1.222 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.7893, allocations: 57.11 kB / 1.222 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.7895, allocations: 60.75 kB / 1.222 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.7898, allocations: 143.9 kB / 1.222 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7898, allocations: 0 / 1.222 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000472/0.7903, allocations: 203.6 kB / 1.222 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.7903, allocations: 40.19 kB / 1.222 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.7903, allocations: 0 / 1.222 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.7904, allocations: 5.281 kB / 1.222 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.7905, allocations: 16.42 kB / 1.222 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7905, allocations: 1.125 kB / 1.222 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.7906, allocations: 17.72 kB / 1.222 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.7907, allocations: 2 kB / 1.222 GB, free: 15.45 MB / 0.9356 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.0001105/0.7908, allocations: 130.2 kB / 1.222 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.7908, allocations: 16 kB / 1.222 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.7908, allocations: 18.45 kB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.7908, allocations: 3.625 kB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7909, allocations: 1.062 kB / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.7909, allocations: 0 / 1.222 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.7911, allocations: 200.5 kB / 1.222 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7911, allocations: 0 / 1.222 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.7912, allocations: 14.86 kB / 1.222 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.7912, allocations: 5.328 kB / 1.222 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.7912, allocations: 5.297 kB / 1.222 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7912, allocations: 0 / 1.222 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7912, allocations: 4 kB / 1.222 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.7916, allocations: 185.4 kB / 1.223 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.7917, allocations: 83.75 kB / 1.223 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.7917, allocations: 5.172 kB / 1.223 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.7918, allocations: 21.45 kB / 1.223 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.7919, allocations: 12.7 kB / 1.223 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.7919, allocations: 10.08 kB / 1.223 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.845e-05/0.792, allocations: 109.5 kB / 1.223 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.792, allocations: 1.344 kB / 1.223 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002634/0.7923, allocations: 42.78 kB / 1.223 GB, free: 14.7 MB / 0.9356 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.0001975/0.7925, allocations: 113.2 kB / 1.223 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.7929, allocations: 186.1 kB / 1.223 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7929, allocations: 1.125 kB / 1.223 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.7931, allocations: 62.31 kB / 1.223 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.7933, allocations: 13.7 kB / 1.223 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.7939, allocations: 267.7 kB / 1.223 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.7943, allocations: 0.6991 MB / 1.224 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.7943, allocations: 15.92 kB / 1.224 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.7943, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of Templates: time 0.003462/0.7978, allocations: 1.514 MB / 1.226 GB, free: 12.74 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches