Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001435/0.001435, allocations: 87.69 kB / 20.46 MB, free: 4.133 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.001399/0.001399, allocations: 172.9 kB / 23.82 MB, free: 0.7656 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 0.9522/0.9522, allocations: 177.1 MB / 204.2 MB, free: 5.211 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.768/1.768, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.161e-05, allocations: 2.312 kB / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002008/0.00203, allocations: 1.601 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008854/0.002915, allocations: 0.6252 MB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.002983, allocations: 0.6562 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.003094, allocations: 13.27 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.003146, allocations: 23.8 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.00358, allocations: 109.2 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.003736, allocations: 103.6 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.003833, allocations: 8.234 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.004007, allocations: 73.33 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.004072, allocations: 31.91 kB / 0.7896 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.004092, allocations: 4 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.00422, allocations: 99.83 kB / 0.7897 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.004266, allocations: 23.23 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.00431, allocations: 27.91 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.004513, allocations: 151.5 kB / 0.7899 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004516, allocations: 0 / 0.7899 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004517, allocations: 4 kB / 0.7899 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.004522, allocations: 0 / 0.7899 GB, free: 9.652 MB / 0.7448 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.000545/0.005067, allocations: 473.8 kB / 0.7903 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.005101, allocations: 8.031 kB / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.005272, allocations: 33.78 kB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.005431, allocations: 155.2 kB / 0.7905 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.005441, allocations: 5.094 kB / 0.7905 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.005456, allocations: 8.375 kB / 0.7905 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.005623, allocations: 88.27 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.005632, allocations: 192 / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.005644, allocations: 384 / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.005669, allocations: 7.938 kB / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.295e-05/0.005722, allocations: 24.55 kB / 0.7906 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.00612, allocations: 316.7 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.006206, allocations: 39.8 kB / 0.791 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.006241, allocations: 19.62 kB / 0.791 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.006259, allocations: 4.656 kB / 0.791 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.006372, allocations: 89.02 kB / 0.7911 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.006373, allocations: 1.281 kB / 0.7911 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002118/0.006585, allocations: 89.56 kB / 0.7912 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.006617, allocations: 59.39 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.006712, allocations: 198.2 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.006726, allocations: 29.7 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.006786, allocations: 150.8 kB / 0.7916 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.006803, allocations: 23.81 kB / 0.7916 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.006845, allocations: 33.52 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.006979, allocations: 0.5 MB / 0.7921 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.00703, allocations: 41.69 kB / 0.7922 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.855e-05/0.007069, allocations: 45.69 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.007139, allocations: 65.33 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.007142, allocations: 3.984 kB / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001424/0.007285, allocations: 151.7 kB / 0.7924 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.007343, allocations: 33.7 kB / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.007348, allocations: 0 / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.007362, allocations: 0 / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/0.00745, allocations: 19.98 kB / 0.7925 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.007454, allocations: 3.938 kB / 0.7925 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.007519, allocations: 21.5 kB / 0.7925 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.00753, allocations: 4.078 kB / 0.7925 GB, free: 6.715 MB / 0.7448 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 7.121e-05/0.007602, allocations: 164.5 kB / 0.7927 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.007617, allocations: 12.44 kB / 0.7927 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.007644, allocations: 12.78 kB / 0.7927 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.007655, allocations: 8.516 kB / 0.7927 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.007658, allocations: 1.469 kB / 0.7927 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007661, allocations: 0 / 0.7927 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.882e-05/0.00776, allocations: 152.5 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007761, allocations: 0 / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.0078, allocations: 12.55 kB / 0.7928 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007802, allocations: 6.031 kB / 0.7929 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.00781, allocations: 0 / 0.7929 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.007812, allocations: 3.984 kB / 0.7929 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007814, allocations: 4 kB / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.007943, allocations: 124.2 kB / 0.793 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.007954, allocations: 7.953 kB / 0.793 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.007973, allocations: 4.531 kB / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.008014, allocations: 8.484 kB / 0.793 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.008064, allocations: 17 kB / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.008071, allocations: 7.938 kB / 0.793 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.008124, allocations: 148.8 kB / 0.7932 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008124, allocations: 0.9062 kB / 0.7932 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001575/0.008282, allocations: 39.94 kB / 0.7932 GB, free: 5.938 MB / 0.7448 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.0001988/0.008481, allocations: 120 kB / 0.7933 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.008638, allocations: 137.7 kB / 0.7935 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.00864, allocations: 0 / 0.7935 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.008686, allocations: 35.45 kB / 0.7935 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.008848, allocations: 23.91 kB / 0.7935 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.009392, allocations: 210.7 kB / 0.7937 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.009431, allocations: 63.34 kB / 0.7938 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.529e-05/0.009476, allocations: 14.12 kB / 0.7938 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.009516, allocations: 20.5 kB / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.009516, allocations: 0 / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of Templates: time 0.003199/0.01272, allocations: 1.496 MB / 0.7953 GB, free: 3.777 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.005400089081377]