Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002131/0.002131, allocations: 81.27 kB / 19.18 MB, free: 2.527 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.002311/0.002311, allocations: 167.1 kB / 22.46 MB, free: 5.355 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.507/1.507, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.872/2.872, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 1 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.275e-05/3.506e-05, allocations: 2.281 kB / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003536/0.003571, allocations: 1.554 MB / 1.002 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.005102, allocations: 0.6115 MB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.005216, allocations: 0 / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.005346, allocations: 7.875 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.005428, allocations: 23.78 kB / 1.002 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.006054, allocations: 111.6 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.006388, allocations: 107.6 kB / 1.002 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.006517, allocations: 12.22 kB / 1.002 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.006781, allocations: 59.88 kB / 1.003 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.006898, allocations: 43.89 kB / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.006942, allocations: 8 kB / 1.003 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.00716, allocations: 95.83 kB / 1.003 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.007223, allocations: 19.92 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.007292, allocations: 23.92 kB / 1.003 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.007671, allocations: 167.5 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.007676, allocations: 0 / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/0.007678, allocations: 0 / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.007684, allocations: 0 / 1.003 GB, free: 4.484 MB / 0.9512 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.0009551/0.00864, allocations: 391.4 kB / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.008683, allocations: 12.03 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/0.009004, allocations: 28.86 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.009317, allocations: 145.5 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.009336, allocations: 4.375 kB / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.009361, allocations: 4.375 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.00979, allocations: 110 kB / 1.004 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.0098, allocations: 4.188 kB / 1.004 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.009814, allocations: 384 / 1.004 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.009838, allocations: 7.938 kB / 1.004 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.01019, allocations: 95.84 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.0109, allocations: 272.4 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.01125, allocations: 86.52 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.01144, allocations: 60.8 kB / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.01147, allocations: 11.98 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003432/0.01182, allocations: 111.3 kB / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.01182, allocations: 0 / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0007369/0.01255, allocations: 205.5 kB / 1.004 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.01261, allocations: 55.41 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.01283, allocations: 148.2 kB / 1.005 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.01286, allocations: 25.7 kB / 1.005 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.01296, allocations: 104.1 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.01299, allocations: 27.88 kB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/0.01306, allocations: 29.7 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.01323, allocations: 330.8 kB / 1.005 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.01345, allocations: 85.7 kB / 1.005 GB, free: 2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.01365, allocations: 85.66 kB / 1.005 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.01404, allocations: 146.4 kB / 1.005 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01404, allocations: 4 kB / 1.005 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000519/0.01456, allocations: 224.9 kB / 1.006 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/0.01463, allocations: 42.16 kB / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01464, allocations: 0 / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.01465, allocations: 0 / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.0148, allocations: 15.98 kB / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.01481, allocations: 0 / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.01495, allocations: 31.84 kB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.01496, allocations: 0 / 1.006 GB, free: 1.422 MB / 0.9512 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.0001302/0.01509, allocations: 130.2 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.01512, allocations: 7.953 kB / 1.006 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.01517, allocations: 20.77 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.01518, allocations: 4 kB / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.01519, allocations: 0 / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01519, allocations: 3.938 kB / 1.006 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01537, allocations: 141.2 kB / 1.006 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01537, allocations: 4 kB / 1.006 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01548, allocations: 19.98 kB / 1.006 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01548, allocations: 0 / 1.006 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.0155, allocations: 4 kB / 1.006 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.0155, allocations: 0 / 1.006 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.0155, allocations: 3.984 kB / 1.006 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.01603, allocations: 180.9 kB / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.01605, allocations: 11.95 kB / 1.006 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.01607, allocations: 0 / 1.006 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.0162, allocations: 15.98 kB / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.01628, allocations: 15.97 kB / 1.006 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.01629, allocations: 0 / 1.006 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.366e-05/0.01638, allocations: 108.6 kB / 1.006 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.01638, allocations: 0 / 1.006 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002815/0.01667, allocations: 43.94 kB / 1.006 GB, free: 0.6641 MB / 0.9512 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.0002648/0.01693, allocations: 115.2 kB / 1.006 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006774/0.01761, allocations: 216.9 kB / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01761, allocations: 0 / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.01783, allocations: 63.89 kB / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01807, allocations: 22.39 kB / 1.007 GB, free: 232 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.0187, allocations: 225.6 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.793e-05/0.01879, allocations: 85.44 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.793e-05/0.01886, allocations: 15.97 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.01891, allocations: 16.48 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.01891, allocations: 4 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of Templates: time 0.005094/0.024, allocations: 1.489 MB / 1.008 GB, free: 14.37 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.4685073569417]