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.002113/0.002113, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.001986/0.001986, allocations: 165.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.1/3.1, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.93e-05, allocations: 7.25 kB / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003/0.003029, allocations: 1.582 MB / 0.8123 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.004646, allocations: 0.6212 MB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.324e-05/0.004719, allocations: 3.938 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.004831, allocations: 8.828 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.004899, allocations: 20.41 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.005361, allocations: 108.9 kB / 0.8131 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.005541, allocations: 103.6 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.005647, allocations: 12.23 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.005866, allocations: 68.89 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.005955, allocations: 31.91 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.005983, allocations: 8.625 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.006159, allocations: 91.89 kB / 0.8134 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.006213, allocations: 24.5 kB / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.006271, allocations: 31.91 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.006566, allocations: 168.6 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.006569, allocations: 0 / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.006569, allocations: 0 / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.006575, allocations: 2.219 kB / 0.8136 GB, free: 15.29 MB / 0.7761 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.0008756/0.00745, allocations: 485.4 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.007485, allocations: 8.031 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/0.007782, allocations: 33.61 kB / 0.8141 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.00801, allocations: 142.8 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.008028, allocations: 9.031 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.008049, allocations: 8.312 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.008321, allocations: 86.8 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.008331, allocations: 0.6875 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.008349, allocations: 9.797 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.008376, allocations: 7.938 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.008633, allocations: 59.94 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/0.009341, allocations: 333.1 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.009605, allocations: 71.03 kB / 0.8148 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.009759, allocations: 45.5 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.009779, allocations: 0 / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002742/0.01005, allocations: 101 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.01006, allocations: 1.156 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0005878/0.01064, allocations: 143 kB / 0.815 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.0107, allocations: 63.33 kB / 0.8151 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.01093, allocations: 207.6 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.01095, allocations: 29.7 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01108, allocations: 155.3 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.01112, allocations: 32.39 kB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.0112, allocations: 35.91 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002872/0.01148, allocations: 0.4961 MB / 0.816 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.01168, allocations: 66.52 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.01183, allocations: 66.52 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.01211, allocations: 105.9 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01212, allocations: 1.375 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004443/0.01256, allocations: 197 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.0126, allocations: 30.98 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01261, allocations: 0 / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01263, allocations: 4 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.01278, allocations: 20.89 kB / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.01279, allocations: 4.062 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.01292, allocations: 20.72 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.01293, allocations: 4 kB / 0.8165 GB, free: 12.03 MB / 0.7761 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.0001617/0.0131, allocations: 165.9 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.01313, allocations: 15.88 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.01318, allocations: 16.78 kB / 0.8167 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.0132, allocations: 4.5 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.0132, allocations: 4 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.01321, allocations: 0.6875 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.01344, allocations: 162.2 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01344, allocations: 0 / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.01353, allocations: 8 kB / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.01354, allocations: 3.984 kB / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.01355, allocations: 4 kB / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01355, allocations: 0.875 kB / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01355, allocations: 0 / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.01396, allocations: 163.7 kB / 0.8171 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.01399, allocations: 7.953 kB / 0.8171 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.01401, allocations: 0 / 0.8171 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01412, allocations: 11.98 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.0142, allocations: 15.97 kB / 0.8171 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.01421, allocations: 0 / 0.8171 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001368/0.01435, allocations: 165.5 kB / 0.8172 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01435, allocations: 0 / 0.8172 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002775/0.01462, allocations: 36.47 kB / 0.8173 GB, free: 11.2 MB / 0.7761 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.0002269/0.01485, allocations: 120.1 kB / 0.8174 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.01531, allocations: 185.8 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01531, allocations: 1.031 kB / 0.8176 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.01549, allocations: 51.66 kB / 0.8176 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.01575, allocations: 27.45 kB / 0.8176 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.01635, allocations: 211.4 kB / 0.8178 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.01646, allocations: 91.36 kB / 0.8179 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.539e-05/0.01653, allocations: 19.25 kB / 0.818 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.01659, allocations: 16.5 kB / 0.818 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/0.01659, allocations: 0 / 0.818 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of Templates: time 0.005615/0.0222, allocations: 1.486 MB / 0.8194 GB, free: 8.969 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.147619287017733]