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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 119.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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.001896/0.001896, allocations: 67.89 kB / 1.057 GB, free: 2.02 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3072, allocations: 160.7 MB / 1.214 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00292/0.3101, allocations: 1.555 MB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3112, allocations: 0.5851 MB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.3113, allocations: 0 / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3114, allocations: 3.938 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.634e-05/0.3115, allocations: 23.78 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.3119, allocations: 95.7 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.3121, allocations: 91.7 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3122, allocations: 20.22 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3123, allocations: 55.77 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.967e-05/0.3124, allocations: 47.83 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.3124, allocations: 8 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.3126, allocations: 87.84 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.3126, allocations: 19.92 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.3127, allocations: 43.72 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.3129, allocations: 139.5 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3129, allocations: 0 / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3129, allocations: 0 / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3129, allocations: 0 / 1.217 GB, free: 14.2 MB / 0.9669 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.0008444/0.3138, allocations: 460.6 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3138, allocations: 8.031 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.3139, allocations: 12.84 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3141, allocations: 200.2 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3141, allocations: 8.359 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.3141, allocations: 4.375 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.3144, allocations: 105.9 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3144, allocations: 0 / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.3144, allocations: 7.984 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.3145, allocations: 7.938 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.3148, allocations: 83.86 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.3155, allocations: 348.7 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.3158, allocations: 86.52 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.316, allocations: 52.88 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.316, allocations: 112 / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.3163, allocations: 123.2 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3163, allocations: 0 / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0007023/0.3171, allocations: 213.5 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3171, allocations: 59.41 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3172, allocations: 139.9 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3173, allocations: 25.7 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.3173, allocations: 104 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.3174, allocations: 23.84 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.3174, allocations: 25.72 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3176, allocations: 326.8 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.3178, allocations: 55.95 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.318, allocations: 63.94 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.3184, allocations: 142.4 kB / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3184, allocations: 0 / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005046/0.3189, allocations: 199.2 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.3189, allocations: 37.69 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3189, allocations: 3.938 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3189, allocations: 0 / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.3191, allocations: 15.98 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3191, allocations: 0 / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.3192, allocations: 28.38 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.3193, allocations: 7.984 kB / 1.22 GB, free: 11.03 MB / 0.9669 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.0001089/0.3194, allocations: 125.7 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.3194, allocations: 15.84 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.3194, allocations: 16.7 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3194, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3194, allocations: 4 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.3194, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.3196, allocations: 197.5 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3196, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.3198, allocations: 19.98 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3198, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3198, allocations: 8 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3198, allocations: 3.984 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3198, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.3203, allocations: 180.9 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.3203, allocations: 96.98 kB / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3203, allocations: 0 / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3205, allocations: 11.98 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.3205, allocations: 15.97 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3206, allocations: 7.984 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.962e-05/0.3206, allocations: 109.3 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3206, allocations: 0 / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002478/0.3209, allocations: 39.94 kB / 1.22 GB, free: 10.1 MB / 0.9669 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.0001796/0.3211, allocations: 119.2 kB / 1.221 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.3216, allocations: 175.2 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3216, allocations: 0 / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.3218, allocations: 71.88 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.322, allocations: 11.97 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.3226, allocations: 260 kB / 1.221 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.323, allocations: 0.7003 MB / 1.222 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.323, allocations: 15.42 kB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.3231, allocations: 7.938 kB / 1.222 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of Templates: time 0.00362/0.3267, allocations: 1.513 MB / 1.223 GB, free: 7.16 MB / 0.9669 GB " [Timeout remaining time 300] 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_2/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 [Calling sys.exit(0), Time elapsed: 10.708361454075202]