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.0009658/0.0009658, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001011/0.001011, allocations: 161 kB / 24.17 MB, free: 328 kB / 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 0.9853/0.9853, allocations: 177.2 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.835/1.835, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|sigRan.y.[0-9,]+.",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.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.463e-05, allocations: 11.16 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002334/0.002359, allocations: 1.612 MB / 0.7615 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.003261, allocations: 0.6356 MB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.003326, allocations: 3.938 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.003427, allocations: 8.578 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.00348, allocations: 21.3 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.00391, allocations: 113.4 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.004049, allocations: 99.47 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.004133, allocations: 24.19 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.00429, allocations: 59.83 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.704e-05/0.004358, allocations: 41.22 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.004376, allocations: 8 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.0045, allocations: 95.84 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.004542, allocations: 19.92 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.004578, allocations: 28.75 kB / 0.7627 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.00476, allocations: 147.5 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004762, allocations: 0.875 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004763, allocations: 0 / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.004766, allocations: 0.8438 kB / 0.7628 GB, free: 3.777 MB / 0.7136 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.0004398/0.005206, allocations: 354.6 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.005238, allocations: 8.688 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.00539, allocations: 30.06 kB / 0.7632 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005531, allocations: 135.2 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.005542, allocations: 12.31 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.005556, allocations: 5.406 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.005699, allocations: 85.72 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.005705, allocations: 0.7188 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.005713, allocations: 2.156 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.005734, allocations: 7.938 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.271e-05/0.005767, allocations: 15.98 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.006083, allocations: 197.9 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.00617, allocations: 79.83 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.006194, allocations: 12.92 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.006207, allocations: 4 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/0.006309, allocations: 80.77 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.006311, allocations: 0 / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001362/0.006447, allocations: 65.67 kB / 0.7639 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.006479, allocations: 63.34 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.006562, allocations: 142.7 kB / 0.7641 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.006577, allocations: 25.7 kB / 0.7641 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.00662, allocations: 102.3 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.006639, allocations: 27.88 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.006677, allocations: 33.62 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.504e-05/0.006752, allocations: 322.8 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.006793, allocations: 36.53 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.006821, allocations: 41.69 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.077e-05/0.006882, allocations: 72.95 kB / 0.7647 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006884, allocations: 0 / 0.7647 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001024/0.006986, allocations: 125 kB / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.00701, allocations: 34.58 kB / 0.7648 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007015, allocations: 0 / 0.7648 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.007024, allocations: 4.75 kB / 0.7648 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.007098, allocations: 19.97 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.0071, allocations: 0.5312 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.007155, allocations: 12.7 kB / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.007165, allocations: 8.484 kB / 0.7649 GB, free: 1.457 MB / 0.7136 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 6.236e-05/0.007227, allocations: 115.3 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.007242, allocations: 11.94 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.007265, allocations: 20.69 kB / 0.765 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.007274, allocations: 4 kB / 0.765 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.007276, allocations: 0 / 0.765 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.007278, allocations: 0 / 0.765 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.677e-05/0.007365, allocations: 93.8 kB / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.007367, allocations: 6.438 kB / 0.7651 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.007403, allocations: 15.98 kB / 0.7651 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.007405, allocations: 3.938 kB / 0.7651 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.007412, allocations: 3.984 kB / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.007413, allocations: 0 / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.007414, allocations: 0 / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.00752, allocations: 92.3 kB / 0.7652 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.007534, allocations: 19.88 kB / 0.7652 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.007552, allocations: 7.938 kB / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.007596, allocations: 11.98 kB / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.00763, allocations: 9.016 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.007637, allocations: 7.984 kB / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.514e-05/0.007663, allocations: 30.52 kB / 0.7653 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007663, allocations: 1 kB / 0.7653 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001484/0.007811, allocations: 35.95 kB / 0.7653 GB, free: 0.9336 MB / 0.7136 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.00013/0.007941, allocations: 110.7 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.008072, allocations: 125.9 kB / 0.7656 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.008076, allocations: 0 / 0.7656 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.008116, allocations: 24.84 kB / 0.7656 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.008231, allocations: 22.61 kB / 0.7656 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.008717, allocations: 224.7 kB / 0.7658 GB, free: 388 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.008748, allocations: 63.34 kB / 0.7659 GB, free: 304 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.008789, allocations: 6.812 kB / 0.7659 GB, free: 300 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.008853, allocations: 63.36 kB / 0.766 GB, free: 236 kB / 0.7136 GB Notification: Performance of SimCode: time 8.51e-07/0.008854, allocations: 0 / 0.766 GB, free: 236 kB / 0.7136 GB Notification: Performance of Templates: time 0.003221/0.01208, allocations: 1.492 MB / 0.7674 GB, free: 14.82 MB / 0.7292 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.876832626294345]